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