JSONAble class abstract

Abstract class containing serializing methods

In addition includes helper functions.

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

deserializeList<T>(List? docs) List<T>?
fromJson<T>(Map<String, dynamic>? json) → T
Returns the target type from json (Map)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns the JSON representation of a type in the form of Map
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

clone<T extends JSONAble>(JSONAble object) → T
Returns a clone of the object preserving the type