copyWith method

A copy with the given properties replaced; everything else, unknown keys included, is kept.

Implementation

TitledMultiSelectEnumSchemaItems copyWith({
  List<TitledMultiSelectEnumSchemaItemsAnyOfItem>? anyOf,
}) =>
    TitledMultiSelectEnumSchemaItems.fromJson({
      ...toJson(),
      if (anyOf != null) 'anyOf': $encode(anyOf),
    });