QuantityHarmonized class

Equivalent of Quantity.Harmonized from HealthKitReporter https://cocoapods.org/pods/HealthKitReporter

Supports map representation.

Has a QuantityHarmonized.fromJson constructor to create instances from JSON payload coming from iOS native code.

Constructors

QuantityHarmonized(num value, String unit, Map<String, dynamic>? metadata)
const
QuantityHarmonized.fromJson(Map<String, dynamic> json)
General constructor from JSON payload

Properties

hashCode int
The hash code for this object.
no setterinherited
map Map<String, dynamic>
General map representation
no setter
metadata Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit String
final
value num
final

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