WorkoutEventHarmonized class

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

Supports map representation.

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

Constructors

WorkoutEventHarmonized(WorkoutEventType type, [Map<String, dynamic>? metadata])
const
WorkoutEventHarmonized.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
type WorkoutEventType
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