sendContactUsInfo method

  1. @override
Future<bool?> sendContactUsInfo(
  1. String title,
  2. String description
)
override

Implementation

@override
Future<bool?> sendContactUsInfo(String title, String description) async {
  bool? response;
  try {
    response = await mirrorFlyMethodChannel.invokeMethod<bool>(
        'sendContactUsInfo', {"title": title, "description": description});
    debugPrint("sendContactUsInfo Result ==> $response");
    return response;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    return false;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    return false;
  }
}