copyWith method
BookletEntity
copyWith({
- String? documentID,
- String? appId,
- String? description,
- List<
SectionEntity> ? sections, - StorageConditionsEntity? conditions,
Implementation
BookletEntity copyWith({
String? documentID,
String? appId,
String? description,
List<SectionEntity>? sections,
StorageConditionsEntity? conditions,
}) {
return BookletEntity(
appId: appId ?? this.appId,
description: description ?? this.description,
sections: sections ?? this.sections,
conditions: conditions ?? this.conditions,
);
}