getProfileDetails method

  1. @override
Future getProfileDetails(
  1. String jid
)
override

Implementation

@override
Future<dynamic> getProfileDetails(String jid) async {
  dynamic profileResponse;
  try {
    profileResponse = await mirrorFlyMethodChannel.invokeMethod(
        'getProfileDetails', {"jid": jid});
    debugPrint("getProfileDetails Result ==> $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}