handleRemoveGroup method

void handleRemoveGroup(
  1. MethodCall call
)

Implementation

void handleRemoveGroup(MethodCall call) {
  Map<Object?, Object?> args = call.arguments as Map<Object?, Object?>;
  String groupKey = args['groupKey'] as String;
  dynamic groupID = args["groupID"];
  if (groupID != null) {
    remove_group(groupKey,
        (groupID is Map || groupID is List) ? js.jsify(groupID) : groupID);
  }
}