DexcomAuthAPIURL class

DexcomAuthAPIURL is a class that expresses multiple factory constructors to be used to generate Dexcom Web APIs urls to be used by DexcomConnector.

Constructors

DexcomAuthAPIURL({required String url, required bool isSandbox, String? data})
Default DexcomAuthAPIURL constructor.
DexcomAuthAPIURL.authorize({required String redirectUri, required bool isSandbox, required String code, required String clientID, required String clientSecret})
Factory constructor that generates a DexcomAuthAPIURL to be used to get the access and refresh tokens.
factory
DexcomAuthAPIURL.authorizeForm({required String redirectUri, required String clientID, required bool isSandbox})
Factory constructor that generates a DexcomAuthAPIURL to be used to get to the Dexcom authorization form.
factory
DexcomAuthAPIURL.refreshToken({required bool isSandbox, required String clientID, required String clientSecret})
Factory constructor that generates a DexcomAuthAPIURL to be used to refresh the access token.
factory

Properties

data String?
The data to be attached to the url.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isSandbox bool
A boolean flag that indicated if the DexcomAPIURL refers to the Sandbox Data or Production data
getter/setter pairinherited
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