copyWith method

UntitledMultiSelectEnumSchemaItems copyWith({
  1. List<String>? enumValue,
})

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

Implementation

UntitledMultiSelectEnumSchemaItems copyWith({
  List<String>? enumValue,
}) =>
    UntitledMultiSelectEnumSchemaItems.fromJson({
      ...toJson(),
      if (enumValue != null) 'enum': $encode(enumValue),
    });