copyWith method

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

Implementation

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