copyWith abstract method
IndexDefinition
copyWith({
- String? indexName,
- String? tableSpace,
- List<
IndexElementDefinition> ? elements, - String? type,
- bool? isUnique,
- bool? isPrimary,
- bool? nullsDistinct,
- String? predicate,
- GinOperatorClass? ginOperatorClass,
- 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
@_iss.useResult
IndexDefinition copyWith({
String? indexName,
String? tableSpace,
List<_isd.IndexElementDefinition>? elements,
String? type,
bool? isUnique,
bool? isPrimary,
bool? nullsDistinct,
String? predicate,
_isd.GinOperatorClass? ginOperatorClass,
_isd.VectorDistanceFunction? vectorDistanceFunction,
_isd.ColumnType? vectorColumnType,
Map<String, String>? parameters,
});