copyWith method

TutorialEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? name,
  4. String? title,
  5. String? description,
  6. List<TutorialEntryEntity>? tutorialEntries,
  7. StorageConditionsEntity? conditions,
})

Implementation

TutorialEntity copyWith({
  String? documentID,
  String? appId,
  String? name,
  String? title,
  String? description,
  List<TutorialEntryEntity>? tutorialEntries,
  StorageConditionsEntity? conditions,
}) {
  return TutorialEntity(
    appId: appId ?? this.appId,
    name: name ?? this.name,
    title: title ?? this.title,
    description: description ?? this.description,
    tutorialEntries: tutorialEntries ?? this.tutorialEntries,
    conditions: conditions ?? this.conditions,
  );
}