copyWith method

BookletEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. List<SectionEntity>? sections,
  5. 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,
  );
}