ActivitySummary class

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

Supports map representation.

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

Requires ActivitySummaryType permissions provided.

Constructors

ActivitySummary(String identifier, DateTime date, ActivitySummaryHarmonized harmonized)
const
ActivitySummary.fromJson(Map<String, dynamic> json)
General constructor from JSON payload

Properties

date DateTime
final
harmonized ActivitySummaryHarmonized
final
hashCode int
The hash code for this object.
no setterinherited
identifier String
final
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