upsertDto method

MODEL upsertDto(
  1. DTO newValue
)

Implementation

MODEL upsertDto(DTO newValue) {
  final model = upsertValue(modelBuilder(newValue));
  _list.add(model);
  return model;
}