FlutterHueMaintenanceRepo class

Constructors

FlutterHueMaintenanceRepo()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

maintain({required String clientId, required String clientSecret, required String redirectUri, String? deviceName, String? state, Directory? savedBridgesDir, String stateEncrypter(String plaintext)?, String tokenEncrypter(String plaintext)?, String tokenDecrypter(String ciphertext)?, String bridgeDecrypter(String ciphertext)?, bool reAuthOnFail = true}) Future<void>
This is the general method to maintain all of the data that is stored locally.
maintainBridges({Directory? savedBridgesDir, String decrypter(String ciphertext)?}) Future<void>
This method maintains the bridges that are stored locally.
maintainToken({required String clientId, required String clientSecret, required String redirectUri, String? deviceName, String? state, String stateEncrypter(String plaintext)?, String tokenEncrypter(String plaintext)?, String tokenDecrypter(String ciphertext)?, bool reAuthOnFail = true}) Future<void>
This method maintains the token that is stored locally.