- Annotations
-
- @Freezed(unionKey: 'type')
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 never(_Never value), required TResult timeout(_Timeout value), required TResult timestamp(_Timestamp value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? never(_Never value)?, TResult? timeout(_Timeout value)?, TResult? timestamp(_Timestamp value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult never(_Never value)?, TResult timeout(_Timeout value)?, TResult timestamp(_Timestamp value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult never()?, TResult timeout(int data)?, TResult timestamp(int data)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serializes this Expiration to a JSON map.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult never(), required TResult timeout(int data), required TResult timestamp(int data)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? never()?, TResult? timeout(int data)?, TResult? timestamp(int data)?})
→ TResult?
-
inherited