toEntity method
Implementation
@override
TutorialEntity toEntity({String? appId}) {
return TutorialEntity(
appId: appId,
name: (name != null) ? name : null,
title: (title != null) ? title : null,
description: (description != null) ? description : null,
tutorialEntries: (tutorialEntries != null)
? tutorialEntries!.map((item) => item.toEntity(appId: appId)).toList()
: null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}