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

hashCode int
The hash code for this object.
no setteroverride
name String
The name of this data format.
final
namespace String
The data type namespace. See NameSpace.
final
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.
override

Operators

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