getProfileDetails method
This method is used to get the user profile details.
Implementation
@override
Future<String> getProfileDetails(String jid) async {
String? profileResponse;
try {
profileResponse = await mirrorFlyMethodChannel
.invokeMethod('getProfileDetails', {"jid": jid});
LogMessage.d("getProfileDetails", profileResponse);
return convertProfileDetailJsonFromString(profileResponse);
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}