StepsCountPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • StepsCountPlatform
Implementers

Constructors

StepsCountPlatform.new()
Constructs a StepsCountPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkHealthKitPermissionStatus({required List<HealthDataType> dataTypes}) Future<Map<String, bool>>
checkSingleHealthKitPermissionStatus({required HealthDataType dataType}) Future<bool>
getStepCounts({DateTime? startDate, DateTime? endDate}) Future<int>
getTimeline({DateTime? startDate, DateTime? endDate, TimeZoneType timeZone = TimeZoneType.local}) Future<List<TimelineModel>>
getTodaysCount() Future<int>
isHealthKitAvailable() Future<bool>
isServiceRunning() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestHealthKitPermissions({required List<HealthDataType> dataTypes}) Future<bool>
startBackgroundService() Future<void>
stopBackgroundService() Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance StepsCountPlatform
The default instance of StepsCountPlatform to use.
getter/setter pair