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});
    debugPrint("setMyProfileStatus Result ==> $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}