copyWith method

RenameIndex copyWith({
  1. ObjectName? indexName,
})

Returns a new instance by overriding the values passed as arguments

Implementation

RenameIndex copyWith({
  ObjectName? indexName,
}) =>
    RenameIndex(indexName: indexName ?? this.indexName);