copyWith method
FieldDetails
copyWith(
{ - List<String>? clauseNames,
- bool? custom,
- String? id,
- String? key,
- String? name,
- bool? navigable,
- bool? orderable,
- JsonTypeBean? schema,
- Scope? scope,
- bool? searchable,
})
Implementation
FieldDetails copyWith(
{List<String>? clauseNames,
bool? custom,
String? id,
String? key,
String? name,
bool? navigable,
bool? orderable,
JsonTypeBean? schema,
Scope? scope,
bool? searchable}) {
return FieldDetails(
clauseNames: clauseNames ?? this.clauseNames,
custom: custom ?? this.custom,
id: id ?? this.id,
key: key ?? this.key,
name: name ?? this.name,
navigable: navigable ?? this.navigable,
orderable: orderable ?? this.orderable,
schema: schema ?? this.schema,
scope: scope ?? this.scope,
searchable: searchable ?? this.searchable,
);
}