fromEntity static method
Implementation
static Future<TutorialEntryModel?> fromEntity(
String documentID, TutorialEntryEntity? entity) async {
if (entity == null) return null;
return TutorialEntryModel(
documentID: documentID,
description: entity.description,
code: entity.code,
);
}