copyWith method

Constant copyWith({
  1. Complex? a,
})

Creates a deep copy of this object and replaces (if non-null) the given values with the old ones.

Implementation

Constant copyWith({Complex? a}) => Constant(a: a ?? this.a);