copyWith abstract method

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

Implementation

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