JSONConverter<Entity extends BasicEntityObject> class abstract

Constructors

JSONConverter()

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

fromJSONAllList(List json) List<Entity>
Convert a JSON into a list of entities.
fromJSONAllString(String json) List<Entity>
Convert a JSON String into a list of maps then list of entities.
fromJSONMap(Map<String, dynamic> json) → Entity
***** TO IMPLEMENT *****/// Convert JSON map into entity.
fromJSONString(String json) → Entity
Convert JSON String into map then into entity.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntityAllList(List<Entity> entities) List<Map<String, dynamic>>
Convert a list of entities into a List
toEntityAllString(List<Entity> entities) String
Convert a list of entities into a String JSON.
toJSONMap(Entity entity) Map<String, dynamic>
***** TO IMPLEMENT *****/// Convert entity into JSON.
toJSONString(Entity entity) String
Convert entity into JSON theon to String
toString() String
A string representation of this object.
inherited

Operators

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