dismissGroup method

Future<Map> dismissGroup(
  1. String groupID
)

Implementation

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

  return jsObjectToMap(result);
}