PlainCache class Null safety

Constructors

PlainCache()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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