getProfileLocal method
Implementation
@override
Future<dynamic> getProfileLocal(String jid, bool server) async {
dynamic profileResponse;
try {
profileResponse = await mirrorFlyMethodChannel.invokeMethod('getUserProfile', {"jid": jid, "server": server});
LogMessage.d("getProfileLocal Result ", " $profileResponse");
return profileResponse;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}