DataTypeField class

In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension.

Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.). This message is only instantiated in code and not used for wire comms or stored in any way.

Constructors

DataTypeField({String? format, String? name, bool? optional})
DataTypeField.fromJson(Map json_)

Properties

format String?
The different supported formats for each field in a data type. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Defines the name and format of data.
getter/setter pair
optional bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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