copyWith method

  1. @override
TutorialEntryModel copyWith({
  1. String? documentID,
  2. String? description,
  3. PlatformMediumModel? image,
  4. String? code,
})
override

Implementation

@override
TutorialEntryModel copyWith({
  String? documentID,
  String? description,
  PlatformMediumModel? image,
  String? code,
}) {
  return TutorialEntryModel(
    documentID: documentID ?? this.documentID,
    description: description ?? this.description,
    image: image ?? this.image,
    code: code ?? this.code,
  );
}