storageSet abstract method
The VKWebAppStorageSet
call stores the value of the variable
whose name is passed in the key parameter.
Platforms: iOS, Android, Web, Mobile Web
key
- key name, a-zA-Z _ \ - 0-9
. The maximum length is 100 characters.
value
- variable value, only the first 4096 bytes are saved.
Implementation
Future<VKWebAppBoolResult> storageSet({
required String key,
String? value,
});