JtPreferences class

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

clear() Future<bool>
contains(String key) bool
getAll() Map<String, dynamic>
getBoolean(String key) bool?
getDouble(String key) double?
getInt(String key) int?
getKeys() List<String>
getObject<T>(String key, T parse(Map<String, dynamic> map)) → T?
getString(String key) 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>
stream({String? key}) Stream<String>
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}) Future<void>