LocalStorageWeb class

Inheritance

Constructors

LocalStorageWeb()

Properties

hashCode int
The hash code for this object.
no setterinherited
kDefaultCallerName String
local storage mapping keys
finalinherited
localStorage Storage
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRegisteredClient(String id, String name) → void
Add registered client by id, name pair in local storage. If an existing client with the same id is already registered, it will be replaced.
override
clearStorage() → void
Clear local storage data
override
getDefaultCallerName(String defaultValue) String
Get default caller name for incoming calls if no caller name is provided / registered.
override
getRegisteredClient(String id, {String? defaultValue}) String?
Get registered client by id, if the client is not registered, return defaultValue.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRegisteredClient(String id) → void
Remove registered client by id, if the client is not registered, do nothing.
override
saveDefaultCallerName(String value) → void
Set default caller name for incoming calls if no caller name is provided / registered.
override
toString() String
A string representation of this object.
inherited

Operators

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