setMyProfileStatus method

  1. @override
Future setMyProfileStatus(
  1. String status,
  2. String statusId
)
override

Implementation

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