Measurement class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

Measurement({required int id, required DateTime timestamp, double? value, String? type, String? unit})
Measurement.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
getter/setter pair
type String?
getter/setter pair
unit String?
getter/setter pair
value double?
getter/setter pair

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