JsonList<T extends DataModel> class base

Inheritance
Implemented types

Constructors

JsonList(String name, {List<T>? defaultValue = const [], String? helper, bool isRequired = false})

Properties

defaultValue List<T>
Default value for the field
getter/setter pairoverride
error String?
Field message: error
getter/setter pairinherited
genericType Type
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
helper String?
Helper text when the field is displayed in a form
getter/setter pairinherited
information String?
Field message: information
getter/setter pairinherited
isRequired bool
If this field is required or not
getter/setter pairinherited
name String
Field name
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
Type of the JsonField
getter/setter pairinherited
value List<T>
value getter
getter/setter pairinherited
warning String?
Field message: warning
getter/setter pairinherited

Methods

forEach(dynamic toElement(T e)) → dynamic
fromJSON(dynamic json) → void
override
map(T toElement(T e)) List<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → dynamic
override
toString() String
Convert this field to String
inherited
validate() String?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) → T
operator []=(int index, T value) → void