copyWith method

Variable copyWith({
  1. String? id,
  2. String? variable,
  3. String? value,
})

Implementation

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