toEntity method
Implementation
@override
AssignmentViewEntity toEntity({String? appId}) {
return AssignmentViewEntity(
appId: appId,
title: (title != null) ? title : null,
description: (description != null) ? description : null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}