ModelList class

Inheritance

Constructors

ModelList(dynamic json, {Type? type, Field fieldInstanciator(String name, dynamic json)?})

Properties

fields Iterable<Field>
List all availiable fields. This is super importante to complete.
no setteroverride
first Field
no setter
hashCode int
The hash code for this object.
no setterinherited
last Field
no setter
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type?
final
values List<Field>
no setter

Methods

add(dynamic value) bool
at(int index) Field?
get(String name) Field?
override
nameOfField(Field field) String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(int index, dynamic value) bool
toJson() → dynamic
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int i) Field?
operator []=(int i, dynamic value) → void