setBool static method

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

Sets a bool value for the given key.

ignore: avoid_positional_boolean_parameters

Implementation

static Future<bool> setBool(String key, bool value) =>
    _instance.setBool(key, value);