copyWith method

CustomerTransitionDTO copyWith({
  1. String? id,
  2. String? name,
})

Implementation

CustomerTransitionDTO copyWith({String? id, String? name}) {
  return CustomerTransitionDTO(
    id: id ?? this.id,
    name: name ?? this.name,
  );
}