copyWith abstract method

Returns a shallow copy of this IndexElementDefinition with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
IndexElementDefinition copyWith({
  _i2.IndexElementDefinitionType? type,
  String? definition,
});