Jsonable<T extends Object> class abstract

Implementers

Constructors

Jsonable()

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
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

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>?

Constants

jsonParserError → const int