copyWith method

TutorialEntryEntity copyWith({
  1. String? documentID,
  2. String? description,
  3. String? imageId,
  4. String? code,
})

Implementation

TutorialEntryEntity copyWith({
  String? documentID,
  String? description,
  String? imageId,
  String? code,
}) {
  return TutorialEntryEntity(
    description: description ?? this.description,
    imageId: imageId ?? this.imageId,
    code: code ?? this.code,
  );
}