getProfileStatusList method

  1. @override
Future getProfileStatusList()
override

Implementation

@override
Future<dynamic> getProfileStatusList() async {
  //getStatusList
  dynamic statusResponse;
  try {
    statusResponse =
        await mirrorFlyMethodChannel.invokeMethod('getProfileStatusList');
    debugPrint("statuslist $statusResponse");
    return statusResponse;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}