DataType class
Specifies the type of a Measure.
Defines a type of data which can be processed by the platform (e.g., measured / collected / uploaded). This is used by the infrastructure to determine whether the requested data can be collected on a device, how to upload it, how to process it in a secondary data stream, or how triggers can act on it.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
- DataType(String namespace, String name)
-
Create a DataType.
const
-
DataType.fromJson(Map<
String, dynamic> json) -
factory
- DataType.fromString(String type)
-
factory
Properties
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override