updateGroupInviteMode method

Future<Map> updateGroupInviteMode(
  1. dynamic mode,
  2. String groupID
)

Implementation

Future<Map<dynamic, dynamic>> updateGroupInviteMode(dynamic mode, String groupID) async {
  final result = await promiseToFuture(ZIM.getInstance()!.updateGroupInviteMode(mode, groupID)).catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}