MultiDatum class

A Datum object holding multiple Datums of the same type.

Inheritance
Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

MultiDatum()
Create an empty MultiDatum.
MultiDatum.fromJson(Map<String, dynamic> json)
Create a MultiDatum from a JSON map.
factory

Properties

data List<Datum>
The list of Datums, i.e. the data.
getter/setter pair
format ↔ DataFormat
The DataFormat of this type of Datum.
getter/setter pairinherited-setteroverride-getter
hashCode int
The hash code for this object.
no setterinherited
id String?
An identifier for this Datum, unique across all data generated. If this datum is part of a MultiDatum, then this id is null.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
The UTC timestamp when this data was generated on the device.
getter/setter pairinherited

Methods

addDatum(Datum datum) → void
Add a Datum to the list.
equivalentTo(ConditionalEvent? event) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialize this object to JSON.
override
toString() String
A string representation of this object.
override

Operators

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