ActivitySummaryHarmonized class

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

Supports map representation.

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

Constructors

ActivitySummaryHarmonized(num activeEnergyBurned, num activeEnergyBurnedGoal, String activeEnergyBurnedUnit, num appleExerciseTime, num appleExerciseTimeGoal, String appleExerciseTimeUnit, num appleStandHours, num appleStandHoursGoal, String appleStandHoursUnit)
const
ActivitySummaryHarmonized.fromJson(Map<String, dynamic> json)
General constructor from JSON payload

Properties

activeEnergyBurned num
final
activeEnergyBurnedGoal num
final
activeEnergyBurnedUnit String
final
appleExerciseTime num
final
appleExerciseTimeGoal num
final
appleExerciseTimeUnit String
final
appleStandHours num
final
appleStandHoursGoal num
final
appleStandHoursUnit String
final
hashCode int
The hash code for this object.
no setterinherited
map Map<String, dynamic>
General map representation
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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