TRecentDB class

Constructors

TRecentDB({required String root})

Properties

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

Methods

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
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>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

getInstance TRecentDB
no setter

Static Methods

init({required String rootPath}) → void