PlainCache class

Constructors

PlainCache()

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

getBool({String? forKey}) bool
Read as bool from persistent cache
getDouble({String? forKey}) double
Read as double from persistent cache
getInt({String? forKey}) int
Read as int from persistent cache
getList({String? forKey}) List?
Read as List from persistent cache
getMap({String? forKey}) Map<String, dynamic>?
Read as Map from persistent cache
getString({String? forKey}) String?
Read as String from persistent cache
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({String? forKey}) → void
Remove from persistent cache
setValue(dynamic newValue, {String? forKey}) → void
Save to persistent cache
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

enable() → void