DynamicField class

Model field for native dynamic type

Inheritance

Constructors

DynamicField({required Model parent, required FieldOptions options})

Properties

fixedType Field
no setter
hashCode int
The hash code for this object.
no setterinherited
isLoaded bool
no setteroverride
isNull bool
no setterinherited
name String
no setterinherited
options FieldOptions
finalinherited
parent Model
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
no setteroverride
value → dynamic
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(dynamic value) → void
override
setFromJson(dynamic json) bool
Convert and set any json to T It doesn't crash if passed incorrect data type value If it fails to put value it returns false
override
toJson() → dynamic
Convert T to json compatible
override
toString() String
A string representation of this object.
inherited
useField(Field field) → void

Operators

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