removeUserDataDateTime static method

Future<void> removeUserDataDateTime(
  1. String key
)

Removes the DateTime corresponding to a key set with setUserDataDateTime.

Method might throw Exception.

Implementation

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