copyWith method

SourceDTO copyWith({
  1. SourceDTOType? type,
})

Implementation

SourceDTO copyWith({SourceDTOType? type}) {
  return SourceDTO(
    type: type ?? this.type,
  );
}