SimpleSharedPref class

Constructors

SimpleSharedPref()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
pref → SharedPreferences?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

contain({required String key}) bool
getBool({required dynamic key}) bool?
getDouble({required dynamic key}) double?
getInt({required String key}) int?
getString({required dynamic key}) String?
getStringList({required dynamic key}) List<String>?
init() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBool({required bool value, required String key}) Future<bool>
setDouble({required double value, required String key}) Future<bool>
setInt({required int value, required String key}) Future<bool>
setString({required String value, required String key}) Future<bool>
setStringList({required List<String> value, required String key}) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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