setDefaultValues method

  1. @override
SimpleTextModel setDefaultValues(
  1. SimpleTextModel t,
  2. StorageConditionsModel conditions
)
override

Implementation

@override
SimpleTextModel setDefaultValues(
    SimpleTextModel t, StorageConditionsModel conditions) {
  return t.copyWith(conditions: t.conditions ?? conditions);
}