clearDatabase method
Deletes the entire user database.
Implementation
Future<bool> clearDatabase() async {
if (!Platform.isIOS) {
return false;
}
bool success = await _channel
.invokeMethod('DELETE_ALL', {"containerId": _containerId}) ??
false;
return success;
}