UserTokenLocalConfigService class

Implements LocalConfigService for UserToken.

Inheritance

Constructors

UserTokenLocalConfigService(AppDirService appDirService)
Implements LocalConfigService for UserToken.

Properties

appDirService → AppDirService
An instance of AppDirService used to determine the directory for storing the configuration file.
finalinherited
fileName → String
The name of the configuration file.
finalinherited
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

canLoadConfig() → Future<bool>
Returns a Future that resolves to true if the configuration can be loaded and false otherwise.
inherited
deleteConfig() → Future<void>
Deletes the configuration file.
inherited
loadConfig() → Future<UserToken>
Abstract method to load the configuration data.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveConfigFile() → Future<File>
Returns a Future that resolves to a File object representing the configuration file.
inherited
saveConfig(UserToken config) → Future<void>
Abstract method to save the configuration data.
override
toString() → String
A string representation of this object.
inherited

Operators

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