LocalStorageWeb class
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