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});
    LogMessage.d("insertNewProfileStatus Result ", " $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}