Model class abstract
- Implementers
Constructors
- Model(dynamic json)
Properties
Methods
-
get(
String name) → Field? -
nameOfField(
Field field) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isRegistering ↔ bool
-
getter/setter pair
-
modelsByName
→ Map<
String, ModelInstanciator> -
final
-
modelsNameByType
→ Map<
Type, String> -
final
Static Methods
-
createByName(
String name, [dynamic json]) → Model? -
createByType(
Type type, [dynamic json]) → Model? -
register(
String name, ModelInstanciator modelInstanciator) → void - This enables the Model class to instanciate model subclasses