getProfileStatusList method

  1. @override
Future<String> getProfileStatusList()
override

This method is used to get the profile status list.

Implementation

@override
Future<String> getProfileStatusList() async {
  //getStatusList
  String? statusResponse;
  try {
    statusResponse =
        await mirrorFlyMethodChannel.invokeMethod('getProfileStatusList');
    return convertStatusListFromJson(statusResponse);
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}