insertNewProfileStatus method

  1. @override
Future insertNewProfileStatus(
  1. String status
)
override

Implementation

@override
Future<dynamic> insertNewProfileStatus(String status) async {
  dynamic profileResponse;
  try {
    profileResponse = await mirrorFlyMethodChannel
        .invokeMethod('insertNewProfileStatus', {"status": status});
    debugPrint("insertNewProfileStatus Result ==> $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}