TRecentDB class

Constructors

TRecentDB()

Properties

getRoot String
no setter
hashCode int
The hash code for this object.
no setterinherited
io DataIO
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String key) Future<void>
get<T>(String key, {required T def}) → T
getBool(String key, {bool def = false}) bool
getDouble(String key, {double def = 0.0}) double
getInt(String key, {int def = 0}) int
getString(String key, {String def = ''}) String
init({required String rootPath}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put<T>(String key, T value) Future<void>
putBool(String key, bool value) Future<void>
putDouble(String key, double value) Future<void>
putInt(String key, int value) Future<void>
putString(String key, String value) Future<void>
save() Future<void>
setRootPath(String root) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

getInstance TRecentDB
no setter