toEntity method

  1. @override
WorkflowActionEntity toEntity({
  1. String? appId,
})
override

Implementation

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