OtpEvent class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<TResult extends Object?>({required TResult started(_Started value), required TResult checkCodeButtonPressed(_CheckCodeButtonPressed value), required TResult resendCodeButtonPressed(_ResendCodeButtonPressed value), required TResult timerTicked(_TimerTicked value), required TResult codeChanged(_CodeChanged value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? started(_Started value)?, TResult? checkCodeButtonPressed(_CheckCodeButtonPressed value)?, TResult? resendCodeButtonPressed(_ResendCodeButtonPressed value)?, TResult? timerTicked(_TimerTicked value)?, TResult? codeChanged(_CodeChanged value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult started(_Started value)?, TResult checkCodeButtonPressed(_CheckCodeButtonPressed value)?, TResult resendCodeButtonPressed(_ResendCodeButtonPressed value)?, TResult timerTicked(_TimerTicked value)?, TResult codeChanged(_CodeChanged value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult started(PhoneVerificationData phoneVerificationData)?, TResult checkCodeButtonPressed()?, TResult resendCodeButtonPressed()?, TResult timerTicked(int duration)?, TResult codeChanged(String value)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult started(PhoneVerificationData phoneVerificationData), required TResult checkCodeButtonPressed(), required TResult resendCodeButtonPressed(), required TResult timerTicked(int duration), required TResult codeChanged(String value)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? started(PhoneVerificationData phoneVerificationData)?, TResult? checkCodeButtonPressed()?, TResult? resendCodeButtonPressed()?, TResult? timerTicked(int duration)?, TResult? codeChanged(String value)?})
→ TResult?
-
inherited