getGroupProfile method

  1. @override
Future getGroupProfile(
  1. String groupJid,
  2. bool server
)
override

Implementation

@override
Future<dynamic> getGroupProfile(String groupJid, bool server) async {
  dynamic res;
  try {
    res = await mirrorFlyMethodChannel.invokeMethod(
        'getGroupProfile', {"groupJid": groupJid, "server": server});
    return res;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}