saveBool static method

Future<void> saveBool(
  1. String key,
  2. bool value
)

Saves a boolean value to shared storage.

Implementation

static Future<void> saveBool(String key, bool value) async {
  await _channel.invokeMethod('saveBool', {
    'key': key,
    'value': value,
    'appGroupId': _appGroupId,
  });
}