changeKey function
Changes the value associated with the given key in the storage.
This function writes the provided value to the storage associated with the given key.
key
is the key for which the value needs to be changed.
value
is the new value to be written to the storage.
Implementation
void changeKey(String key, dynamic value) {
final box = GetStorage();
box.write(key, value);
}