getBoolean static method
Implementation
static Future<bool?> getBoolean({required String key,
required bool defaultValue}) async {
Map<String, Object> config = {
"key": key,
"defaultValue": defaultValue
};
final bool? status =
(await _channel.invokeMethod<bool>('getBoolean', config));
return status;
}