MyValue class sealed

Implementers
Annotations
  • @freezed

Constructors

MyValue.array(List<MyValue> field0)
const
factory
MyValue.bool(bool field0)
const
factory
MyValue.string(String field0)
const
factory

Properties

field0 Object
no setterinherited
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 bool(MyValue_Bool value), required TResult string(MyValue_String value), required TResult array(MyValue_Array value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? bool(MyValue_Bool value)?, TResult? string(MyValue_String value)?, TResult? array(MyValue_Array value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult bool(MyValue_Bool value)?, TResult string(MyValue_String value)?, TResult array(MyValue_Array value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult bool(bool field0)?, TResult string(String field0)?, TResult array(List<MyValue> field0)?, 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 bool(bool field0), required TResult string(String field0), required TResult array(List<MyValue> field0)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? bool(bool field0)?, TResult? string(String field0)?, TResult? array(List<MyValue> field0)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited