copyWith method

ParameterVariable copyWith({
  1. ID? id,
  2. String? name,
  3. Variable? variable,
})

Implementation

ParameterVariable copyWith({
  ID? id,
  String? name,
  Variable? variable,
}) {
  return ParameterVariable(
    id: id ?? this.id,
    name: name ?? this.name,
    variable: variable ?? this.variable,
  );
}