PersistenceInterface class abstract base

Implementers

Constructors

PersistenceInterface()
const

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

containsKey(String key) Future<bool>
Returns true if there is an entry for such a key
delete(String key) Future<void>
Delete a record from the database
dispose() Future<void>
The function should release the elements when the class is closed
get(String key) Future<String?>
Read a record from the database
initAsync() Future<void>
The function that is called after opening the box. Must definitely wait
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put({required String key, required String? value}) Future<void>
Write a record from the database
toString() String
A string representation of this object.
inherited

Operators

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