CFLite class

Constructors

CFLite()

Properties

dbFile File
getter/setter pair
event Stream<CFEvent>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() Future<void>
Clear All Config Data
getBool(String key, {bool def = false, OnGetValueErrorCallback? onError}) bool
Get bool Type
getDouble(String key, {double def = 0.0, OnGetValueErrorCallback? onError}) double
Get double Type
getInt(String key, {int def = 0, OnGetValueErrorCallback? onError}) int
Get int Type
getList<T>(String key, {List<T> def = const [], OnGetValueErrorCallback? onError}) List<T>
Get bool Type
getMap<K, V>(String key, {Map<K, V> def = const {}, OnGetValueErrorCallback? onError}) Map<K, V>
Get bool Type
getString(String key, {String def = '', OnGetValueErrorCallback? onError}) String
Get String Type
getValue<T>(String key, {required T def, OnGetValueErrorCallback? onError}) → T
Get Type Value
init({required String? dbPath, GetDataCallback? getData, SetDataCallback? setData}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put<T>(String key, T value) Future<void>
Add Config Data
remove(String key) Future<void>
Remove Config Data
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getInstance() CFLite
SingleTon