Jsonable<T extends Object> class abstract

Implementers

Constructors

Jsonable.new()
const

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

fromJsonList(List? jsonList) List<T>?
fromJsonMap(Map<String, dynamic>? json) → T?
fromJsonString(String? json) → T?
fromJsonStringList(String? jsonStringList) List<T>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFieldsMask({String? parentKey}) List<String>
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
toJsonString() String
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
override

Operators

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

Static Methods

doubleFromJson(dynamic json) double?
doubleToJsonString2Digits(double? value) String?
dynamicToJsonString(dynamic value) String?
fromJsonListGeneric<T>(List? jsonList, T? fromJsonMap(Map<String, dynamic> json)) List<T>?
fromJsonStringGeneric<T>(String? json, T? fromJsonMap(Map<String, dynamic>? json)) → T?
fromJsonStringListGeneric<T>(String? jsonStringList, T? fromJsonMap(Map<String, dynamic> json)) List<T>?
intFromJson(dynamic json) int?
intReadValue(Map map, String key) → dynamic
jsonableFromJson<T extends Object>(Map<String, dynamic>? json) Jsonable<T>?
jsonableToJson(Jsonable<Object>? value) Map<String, dynamic>?
numFromJson(dynamic json) num?
stringFromJson(dynamic json) String?
stringToMapReadValue(Map map, String key) → dynamic

Constants

jsonParserError → const int