PreferredUnit class
Equivalent of PreferredUnit from HealthKitReporter https://cocoapods.org/pods/HealthKitReporter
Has a PreferredUnit.fromJson constructor to create instances from JSON payload coming from iOS native code.
Constructors
- PreferredUnit(String identifier, String unit)
-
const
-
PreferredUnit.fromJson(Map<
String, dynamic> json) - General constructor from JSON payload
Properties
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