Constructors
-
Short({required T failedValue})
-
const
factory
Properties
-
copyWith
→ _$$ShortCopyWith<T, _$Short<T>>
-
no setteroverride
-
failedValue
→ T
-
no setteroverride
-
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 empty(Empty<T> value), required TResult short(Short<T> value), required TResult invalidEmail(InvalidEmail<T> value), required TResult invalidPhone(InvalidPhone<T> value), required TResult weakPassword(WeakPassword<T> value), required TResult exceedingLength(ExceedingLength<T> value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult empty(Empty<T> value)?, TResult short(Short<T> value)?, TResult invalidEmail(InvalidEmail<T> value)?, TResult invalidPhone(InvalidPhone<T> value)?, TResult weakPassword(WeakPassword<T> value)?, TResult exceedingLength(ExceedingLength<T> value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult empty(Empty<T> value)?, TResult short(Short<T> value)?, TResult invalidEmail(InvalidEmail<T> value)?, TResult invalidPhone(InvalidPhone<T> value)?, TResult weakPassword(WeakPassword<T> value)?, TResult exceedingLength(ExceedingLength<T> value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult empty(T failedValue)?, TResult short(T failedValue)?, TResult invalidEmail(T failedValue)?, TResult invalidPhone(T failedValue)?, TResult weakPassword(T failedValue)?, TResult exceedingLength(T failedValue)?, 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 empty(T failedValue), required TResult short(T failedValue), required TResult invalidEmail(T failedValue), required TResult invalidPhone(T failedValue), required TResult weakPassword(T failedValue), required TResult exceedingLength(T failedValue)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult empty(T failedValue)?, TResult short(T failedValue)?, TResult invalidEmail(T failedValue)?, TResult invalidPhone(T failedValue)?, TResult weakPassword(T failedValue)?, TResult exceedingLength(T failedValue)?})
→ TResult?
-
inherited