copyWith method
BookletModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- List<
SectionModel> ? sections, - StorageConditionsModel? conditions,
override
Implementation
@override
BookletModel copyWith({
String? documentID,
String? appId,
String? description,
List<SectionModel>? sections,
StorageConditionsModel? conditions,
}) {
return BookletModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
description: description ?? this.description,
sections: sections ?? this.sections,
conditions: conditions ?? this.conditions,
);
}