copyWith method
TutorialModel
copyWith({
- String? documentID,
- String? appId,
- String? name,
- String? title,
- String? description,
- List<
TutorialEntryModel> ? tutorialEntries, - StorageConditionsModel? conditions,
override
Implementation
@override
TutorialModel copyWith({
String? documentID,
String? appId,
String? name,
String? title,
String? description,
List<TutorialEntryModel>? tutorialEntries,
StorageConditionsModel? conditions,
}) {
return TutorialModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
name: name ?? this.name,
title: title ?? this.title,
description: description ?? this.description,
tutorialEntries: tutorialEntries ?? this.tutorialEntries,
conditions: conditions ?? this.conditions,
);
}