getBoolean static method

Future<bool> getBoolean(
  1. String key
)

Implementation

static Future<bool> getBoolean(String key) async {
  bool? value = await _channel
      .invokeMethod<bool>('getBoolean', {'key': key});
  return value ?? false;
}