copyWith method

TestCallVectorInt copyWith({
  1. List<int>? x,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

TestCallVectorInt copyWith({List<int>? x}) =>
    TestCallVectorInt(x: x ?? this.x);