getDefaultNotificationUri method

  1. @override
Future<String?> getDefaultNotificationUri()
override

Implementation

@override
Future<String?> getDefaultNotificationUri() async {
  String? uri = "";
  try {
    uri = await mirrorFlyMethodChannel
        .invokeMethod<String?>('getDefaultNotificationUri');
    return uri;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}