FitbitCredentials class

FitbitCredentials is a class that is in charge of managing the credentials to be used to make requests to the Fitbit Web APIs: userID, fitbitAccessToken, and fitbitRefreshToken.

Constructors

FitbitCredentials({required String userID, required String fitbitAccessToken, required String fitbitRefreshToken})
Default constructor of FitbitCredentials.

Properties

fitbitAccessToken String
The Fitbit access token associated to the credentials.
getter/setter pair
fitbitRefreshToken String
The Fitbit refresh token associated to the credentials.
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
userID String
The user id associated to the credentials.
getter/setter pair

Methods

copyWith({String? userID, String? fitbitAccessToken, String? fitbitRefreshToken}) FitbitCredentials
Method to be used to create new FitbitCredentials fobjet from the current one as its copy with (possibly) new userID, fitbitAccessToken, and/or fitbitRefreshToken.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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