deleteAllMessages method

  1. @override
dynamic deleteAllMessages()
override

This method is used to delete all the messages.

Implementation

@override
deleteAllMessages() async {
  try {
    await mirrorFlyMethodChannel.invokeMethod('deleteAllMessages');
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception ", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}