PrefUtils class

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

clear() → Future<bool>
containsKey(String key) → bool
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
initPref() → Future
remove(String key) → Future<bool>
setBool(String key, bool? value) → dynamic
setDouble(String key, double? value) → dynamic
setInt(String key, int? value) → dynamic
setString(String key, String? value) → dynamic