WalfDatabase class Null safety

Create a Walf Database

Constructors

WalfDatabase(String databaseName, {required String password})
Get database name

Properties

databaseName String
Walf is a secure and fast key-value based database based on JSON. It uses 'AES-256 CBC' encryption algorithm for Walf security. Keeps all data in a customized JSON file with ".wfdb" extension in the device.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
password String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createDatabase() → dynamic
existDatabase() Future<bool>
getAllJSONData() Future<Map<String, dynamic>>
getArray(String key) Future<WalfList>
getBool(String key) Future<WalfBool>
getDouble(String key) Future<WalfDouble>?
getInt(String key) Future<WalfInt>
getMap(String key) Future<WalfMap>
getString(String key) Future<WalfString>
initDatabase() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeData(String key) → dynamic
setArray(String key, List value) → dynamic
setBool(String key, bool value) → dynamic
setDouble(String key, double value) → dynamic
setInt(String key, int value) → dynamic
setMap(String key, Map value) → dynamic
setString(String key, String value) → dynamic
toString() String
A string representation of this object. [...]
inherited

Operators

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