discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

InMemoryStorage class

Implemented types

Constructors

InMemoryStorage()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storageMap → Map<String, dynamic>
final

Methods

containsKey(String key) → Future<bool>
Checks whether the storage contains the key.
override
deleteItem(String key) → Future<void>
Deletes the given key from the storage.
override
getItem(String key, {dynamic defaultValue}) → Future?
Returns the value associated with the given key. If the key does not exist, null is returned.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setItem(String key, dynamic value) → Future<void>
Saves the key - value pair.
override
toString() → String
A string representation of this object.
inherited

Operators

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