HomeConnectApi class
Constructors
- HomeConnectApi(Uri baseUrl, {required HomeConnectClientCredentials credentials, HomeConnectAuthStorage? storage, HomeConnectAuth? authenticator})
Properties
- authenticator ↔ HomeConnectAuth?
-
getter/setter pair
- baseUrl ↔ Uri
-
getter/setter pair
- client ↔ Client
-
getter/setter pair
-
commonHeaders
→ Map<
String, String> -
no setter
- credentials ↔ HomeConnectClientCredentials
-
oauth client 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
- storage ↔ HomeConnectAuthStorage
-
getter/setter pair
-
subscription
↔ StreamSubscription<
Event> -
getter/setter pair
Methods
-
authenticate(
) → Future< void> -
checkTokenIntegrity(
) → Future< HomeConnectAuthCredentials?> -
closeEventChannel(
) → Future< void> -
delete(
String resource) → Future< Response> -
get(
String resource) → Future< Response> -
getDevices(
) → Future< List< HomeDevice> > -
isAuthenticated(
) → Future< bool> -
logout(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openEventListenerChannel(
{required HomeDevice source}) → Future< void> -
put(
{required String resource, required String body}) → Future< Response> -
refreshToken(
) → Future< void> -
shouldRefreshToken(
) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited