copyWith method

StackItemSets copyWith({
  1. List<(BigInt, List<StartLength>)>? insertions,
  2. List<(BigInt, List<StartLength>)>? deletions,
})

Returns a new instance by overriding the values passed as arguments

Implementation

StackItemSets copyWith({
  List<
          (
            BigInt /*U64*/,
            List<StartLength>,
          )>?
      insertions,
  List<
          (
            BigInt /*U64*/,
            List<StartLength>,
          )>?
      deletions,
}) =>
    StackItemSets(
        insertions: insertions ?? this.insertions,
        deletions: deletions ?? this.deletions);