toEntity method
Implementation
@override
WorkflowActionEntity toEntity({String? appId}) {
return WorkflowActionEntity(
workflowId: (workflow != null) ? workflow!.documentID : null,
conditions: (conditions != null) ? conditions!.toEntity() : null,
appId: appId);
}