copyWith method
LessonCompanion
copyWith(
{ - Value<int>? id,
- Value<String>? title,
- Value<String>? titleInEnglish,
- Value<int>? seqNum,
- Value<bool>? locked,
- Value<bool>? published,
- Value<DateTime?>? publishDate,
- Value<String?>? imagePath,
- Value<int>? bookId,
- Value<String?>? description,
- Value<String?>? note,
})
Implementation
LessonCompanion copyWith({
Value<int>? id,
Value<String>? title,
Value<String>? titleInEnglish,
Value<int>? seqNum,
Value<bool>? locked,
Value<bool>? published,
Value<DateTime?>? publishDate,
Value<String?>? imagePath,
Value<int>? bookId,
Value<String?>? description,
Value<String?>? note,
}) {
return LessonCompanion(
id: id ?? this.id,
title: title ?? this.title,
titleInEnglish: titleInEnglish ?? this.titleInEnglish,
seqNum: seqNum ?? this.seqNum,
locked: locked ?? this.locked,
published: published ?? this.published,
publishDate: publishDate ?? this.publishDate,
imagePath: imagePath ?? this.imagePath,
bookId: bookId ?? this.bookId,
description: description ?? this.description,
note: note ?? this.note,
);
}