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