toEntity method

  1. @override
TutorialEntryEntity toEntity({
  1. String? appId,
})
override

Implementation

@override
TutorialEntryEntity toEntity({String? appId}) {
  return TutorialEntryEntity(
    description: (description != null) ? description : null,
    imageId: (image != null) ? image!.documentID : null,
    code: (code != null) ? code : null,
  );
}