Deserializer class

Constructors

Deserializer(Object object)

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

call(String key) Deserializer
getBool(String key, {bool defaultValue = false}) bool
getDateTime(String key, {DateTime? defaultValue}) DateTime
getDouble(String key, {double defaultValue = 0}) double
getEnum<T extends Enum>(String key, {required List<T> values, required T defaultValue, required String matcher(T)}) → T
getInt(String key, {int defaultValue = 0}) int
getList<T extends Object>(String key, {required T converter(Map<String, dynamic>), List<T> defaultValue = const []}) List<T>
getMap(String key, {Map<String, dynamic> defaultValue = const {}}) Map<String, dynamic>
getSimpleList<T extends Object>(String key, {List<T> defaultValue = const []}) List<T>
getString(String key, {String defaultValue = ''}) String
map<T extends Object>(T converter(Map<String, dynamic>)) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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