copyWith abstract method

  1. @useResult
IndexDefinition copyWith({
  1. String? indexName,
  2. String? tableSpace,
  3. List<IndexElementDefinition>? elements,
  4. String? type,
  5. bool? isUnique,
  6. bool? isPrimary,
  7. String? predicate,
})

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,
});