DataModel class abstract

Implemented types

Constructors

DataModel()

Properties

fields List<JsonField>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJSON(dynamic json) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → dynamic
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

create<T extends DataModel>(Type type) → dynamic
getType(Type type) ModelType<DataModel>
setType(Type className, InstanceConstructor<DataModel> constructor) → dynamic

Constants

errorKey → const String
informationKey → const String
warningKey → const String