SecuredPreferencesService class abstract

Inheritance
  • Object
  • PreferencesService
  • SecuredPreferencesService

Constructors

SecuredPreferencesService(SharedPreferences preferences, FlutterSecureStorage secureStorage)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
preferences SharedPreferences
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secureStorage FlutterSecureStorage
final

Methods

clear() Future<void>
clear all preferences managers
override
flavorPrefix() String
inherited
getAuthHeaders() FutureOr<Map<String, String>>
You do not call this method by yourself, instead it is used by DioClient to inject authentication headers into your requests that may be stored into the PreferencesService. The implementation of this method should return a map of all headers you may want to add to your request when calling ApiService.withAuth. Values will be appended to the current headers of the request
inherited
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