FitbitHeartRateIntradayAPIURL class
FitbitHeartRateIntradayAPIURL is a class that expresses multiple factory constructors to be used to generate Fitbit Web APIs urls to fetch FitbitHeartRateIntradayData.
- Inheritance
-
- Object
- FitbitAPIURL
- FitbitHeartRateIntradayAPIURL
Constructors
- FitbitHeartRateIntradayAPIURL({required FitbitCredentials? fitbitCredentials, required String url})
- Default FitbitHeartRateIntradayAPIURL constructor.
- FitbitHeartRateIntradayAPIURL.dateRangeAndDetailLevel({required FitbitCredentials fitbitCredentials, required DateTime startDate, required DateTime endDate, required IntradayDetailLevel intradayDetailLevel})
-
Generates a FitbitHeartRateIntradayAPIURL to get FitbitHeartRateIntradayData of a specific date range
between
startDate
andendDate
, andintradayDetailLevel
.factory - FitbitHeartRateIntradayAPIURL.dayAndDetailLevel({required FitbitCredentials fitbitCredentials, required DateTime date, required IntradayDetailLevel intradayDetailLevel})
-
Generates a FitbitHeartRateIntradayAPIURL to get FitbitHeartRateIntradayData of a specific day
date
.factory
Properties
- fitbitCredentials ↔ FitbitCredentials?
-
The FitbitCredentials of the user requesting for the data.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String
-
The string representation of the url.
getter/setter pairinherited
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