setBool method

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

设置布尔值

Implementation

Future<bool> setBool(String key, bool value) async => await _prefs.setBool(key, value);