copyWith abstract method
IndexDefinition
copyWith({
- String? indexName,
- String? tableSpace,
- List<
IndexElementDefinition> ? elements, - String? type,
- bool? isUnique,
- bool? isPrimary,
- String? predicate,
- VectorDistanceFunction? vectorDistanceFunction,
- ColumnType? vectorColumnType,
- Map<
String, String> ? parameters,
Returns a shallow copy of this IndexDefinition with some or all fields replaced by the given arguments.
Implementation
@_i1.useResult
IndexDefinition copyWith({
String? indexName,
String? tableSpace,
List<_i2.IndexElementDefinition>? elements,
String? type,
bool? isUnique,
bool? isPrimary,
String? predicate,
_i3.VectorDistanceFunction? vectorDistanceFunction,
_i4.ColumnType? vectorColumnType,
Map<String, String>? parameters,
});