copyWith method

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

Creates a deep copy of this object with the given fields replaced with the new values.

Implementation

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