FitbitDataManager class abstract

FitbitDataManager is an abstract class the manages the requests related to FitbitData.

Implementers

Constructors

FitbitDataManager({required String clientID, required String clientSecret})
Default constructor

Properties

clientID String
The client id.
getter/setter pair
clientSecret String
The client secret id.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetch(FitbitAPIURL url) Future<List<FitbitData>>
Method that fetches data from the Fitbit API.
getResponse(FitbitAPIURL fitbitUrl) Future
Method the obtains the response from the given FitbitAPIURL.
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

Static Methods

manageError(DioError e) → void
Method that manages errors that could return from the Fitbit API.