removeUserDataBool static method

Future<void> removeUserDataBool(
  1. String key
)

Removes the bool corresponding to a key set with setUserDataBool.

Method might throw Exception.

Implementation

static Future<void> removeUserDataBool(
  String key,
) async {
  try {
    await channel.invokeMethod<void>('removeUserDataBoolean', key);
  } on PlatformException catch (e) {
    throw Exception(e.details);
  }
}