getProfileDetails method
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;
}
}