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});
    LogMessage.d("getProfileDetails Result ", " $profileResponse");
    return profileResponse;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}