setDefaultNotificationSound method

  1. @override
Future setDefaultNotificationSound()
override

This method is used to set the default notification sound.

Implementation

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