DartTypeModel 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 string(StringData value), required TResult num(NumData value), required TResult bool(BoolData value), required TResult list(ListData value), required TResult json(JsonData value), required TResult dynamic(DynamicData value), required TResult nil(NullData value), required TResult jsonString(JsonStringData value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? string(StringData value)?, TResult? num(NumData value)?, TResult? bool(BoolData value)?, TResult? list(ListData value)?, TResult? json(JsonData value)?, TResult? dynamic(DynamicData value)?, TResult? nil(NullData value)?, TResult? jsonString(JsonStringData value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult string(StringData value)?, TResult num(NumData value)?, TResult bool(BoolData value)?, TResult list(ListData value)?, TResult json(JsonData value)?, TResult dynamic(DynamicData value)?, TResult nil(NullData value)?, TResult jsonString(JsonStringData value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult string(String value)?, TResult num(num value)?, TResult bool(bool value)?, TResult list(List value)?, TResult json(Map<String, dynamic> value)?, TResult dynamic(dynamic value)?, TResult nil()?, TResult jsonString(String jsonString)?, 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 DartTypeModel to a JSON map.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult string(String value), required TResult num(num value), required TResult bool(bool value), required TResult list(List value), required TResult json(Map<String, dynamic> value), required TResult dynamic(dynamic value), required TResult nil(), required TResult jsonString(String jsonString)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? string(String value)?, TResult? num(num value)?, TResult? bool(bool value)?, TResult? list(List value)?, TResult? json(Map<String, dynamic> value)?, TResult? dynamic(dynamic value)?, TResult? nil()?, TResult? jsonString(String jsonString)?})
→ TResult?
-
inherited