JtPreferences class

Properties

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

Methods

clear() Future<bool>
contains(String key) Future<bool>
getAll() Future<Map<String, dynamic>>
getBoolean(String key) Future<bool?>
getDouble(String key) Future<double?>
getInt(String key) Future<int?>
getKeys() Future<List<String>>
getObject<T>(String key, T parse(Map<String, dynamic> map)) Future<T?>
getString(String key) Future<String?>
listen({String? key}) Stream<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String key) Future<bool>
saveObject(Writable data) Future<bool>
setBool(String key, bool? value) Future<bool>
setDouble(String key, double? value) Future<bool>
setInt(String key, int? value) Future<bool>
setString(String key, String? value) Future<bool>
startTemporaryMode() → void
stopTemporaryMode() → void
sync() Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance() JtPreferences
initialize(String path, {String? encryptionKey}) → dynamic