copyWith method
Make a copy of an existing ModelIndex instance.
Implementation
ModelIndex copyWith({
List<String>? fields,
String? name,
}) =>
ModelIndex(fields: fields ?? this.fields, name: name ?? this.name);
Make a copy of an existing ModelIndex instance.
ModelIndex copyWith({
List<String>? fields,
String? name,
}) =>
ModelIndex(fields: fields ?? this.fields, name: name ?? this.name);