- Implementers
- Annotations
-
- @Freezed.new(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 color(Color value), required TResult material(MaterialColor value), required TResult redirect(RedirectColor value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? color(Color value)?, TResult? material(MaterialColor value)?, TResult? redirect(RedirectColor value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult color(Color value)?, TResult material(MaterialColor value)?, TResult redirect(RedirectColor value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult color(int value)?, TResult material(Map<int, Color> shades)?, TResult redirect(String target)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult color(int value), required TResult material(Map<int, Color> shades), required TResult redirect(String target)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? color(int value)?, TResult? material(Map<int, Color> shades)?, TResult? redirect(String target)?})
→ TResult?
-
inherited