RCachePlatform class abstract

Interface for Platform RCache

Inheritance
  • Object
  • PlatformInterface
  • RCachePlatform
Implemented types
Implementers

Constructors

RCachePlatform.new()
Constructs a RCachePlatform.

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

clear() Future<void>
Method for deleting all data stored via Caching.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readArray({required RCacheKey key}) Future<List?>
Method for getting an Array with a defined key.
override
readBool({required RCacheKey key}) Future<bool?>
Method for getting a Boolean with a defined key.
override
readDouble({required RCacheKey key}) Future<double?>
Method for getting a Double with a defined key.
override
readInteger({required RCacheKey key}) Future<int?>
Method for getting an Integer with a defined key.
override
readMap({required RCacheKey key}) Future<Map<String, dynamic>?>
Method for getting a Map with a defined key.
override
readString({required RCacheKey key}) Future<String?>
Method for getting a String with a defined key.
override
readUint8List({required RCacheKey key}) Future<Uint8List?>
Method for getting Uint8List with a defined key.
override
remove({required RCacheKey key}) Future<void>
Method for deleting data stored with a defined key.
override
saveArray(List array, {required RCacheKey key}) Future<void>
Method for storing an Array with a defined key.
override
saveBool(bool value, {required RCacheKey key}) Future<void>
Method for storing a Boolean with a defined key.
override
saveDouble(double value, {required RCacheKey key}) Future<void>
Method for storing a Double with a defined key.
override
saveInteger(int value, {required RCacheKey key}) Future<void>
Method for storing an Integer with a defined key.
override
saveMap(Map<String, dynamic> map, {required RCacheKey key}) Future<void>
Method for storing a Map with a defined key.
override
saveString(String string, {required RCacheKey key}) Future<void>
Method for storing a String with a defined key.
override
saveUint8List(Uint8List data, {required RCacheKey key}) Future<void>
Method for storing Uint8List with a defined key.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

common RCachePlatform
The default instance of RCachePlatform to use.
getter/setter pair
credentials RCachePlatform
The default instance of RCachePlatform to use.
getter/setter pair