ScalarSample class

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

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
getter/setter pair
timezoneOffset int?
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