inviteUserViaSMS method

  1. @override
dynamic inviteUserViaSMS(
  1. String mobileNo,
  2. String message
)
override

Implementation

@override
inviteUserViaSMS(String mobileNo, String message) async {
  try {
    await mirrorFlyMethodChannel.invokeMethod(
        'inviteUserViaSMS', {"mobile_no": mobileNo, "message": message});
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}