getGroupMembersList method

  1. @override
Future getGroupMembersList(
  1. String jid,
  2. bool? server
)
override

Implementation

@override
Future<dynamic> getGroupMembersList(String jid, bool? server) async {
  //getGroupMembers
  dynamic response;
  try {
    response =
        await mirrorFlyMethodChannel.invokeMethod('getGroupMembersList', {
      "jid": jid,
      "server": server,
    });
    debugPrint("getGroupMembersList Response ==> $response");
    return response;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}