setBool static method

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

Implementation

static Future<void> setBool(
  String key,
  // ignore: avoid_positional_boolean_parameters
  bool value,
) =>
    _prefs.setBool(key, value);