FlutterLocalPrefsPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterLocalPrefsPlatform
Implementers

Constructors

FlutterLocalPrefsPlatform()
Constructs a FlutterLocalPrefsPlatform.

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

contain({required String key, bool isPersistent = false}) Future<bool>
getBool({required String key, bool isPersistent = false}) Future<bool>
getDouble({required String key, bool isPersistent = false}) Future<double>
getInt({required String key, bool isPersistent = false}) Future<int>
getLong({required String key, bool isPersistent = false}) Future
getString({required String key, bool isPersistent = false}) Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({required String key, bool isPersistent = false}) Future
removeAll({bool isPersistent = false}) Future
saveData({required Object object, required String key, bool isPersistent = false}) Future
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FlutterLocalPrefsPlatform
The default instance of FlutterLocalPrefsPlatform to use.
getter/setter pair