FieldKind class

FieldKind represents a Field.value type. It is used for Field serialization to remove necessity to dynamically probe Field.value type.

Constructors

FieldKind(int value)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Unique value for type.
final

Methods

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

Operators

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

Constants

boolean → const FieldKind
A field kind representing bool value type.
dateTime → const FieldKind
A field kind representing DateTime value type.
double → const FieldKind
A field kind representing double value type.
duration → const FieldKind
A field kind representing Duration value type.
integer → const FieldKind
A field kind representing int value type.
number → const FieldKind
A field kind representing num value type.
object → const FieldKind
A field kind representing custom value type (a class implementing Loggable).
string → const FieldKind
A field kind representing a String value type.