storageSet abstract method

Future<VKWebAppBoolResult> storageSet({
  1. required String key,
  2. String? value,
})

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,
});