setDefaultValues method
DocumentModel
setDefaultValues(
- DocumentModel t,
- StorageConditionsModel conditions
override
Implementation
@override
DocumentModel setDefaultValues(
DocumentModel t, StorageConditionsModel conditions) {
return t.copyWith(
background: t.background ?? BackgroundModel(),
conditions: t.conditions ?? conditions);
}