copyWith method
Copy this instance with different nullable value.
Implementation
EnumType copyWith({
bool? nullable,
List<String>? values,
}) =>
EnumType(
className: className,
values: values ?? this.values,
valuesJSON: valuesJSON,
nullable: nullable ?? this.nullable);