WorkflowSettings.fromJson constructor
WorkflowSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WorkflowSettings.fromJson(Map<String, dynamic> json) {
return WorkflowSettings(
saveExecutionProgress: json['saveExecutionProgress'],
saveManualExecutions: json['saveManualExecutions'],
saveDataErrorExecution: json['saveDataErrorExecution'],
saveDataSuccessExecution: json['saveDataSuccessExecution'],
executionTimeout: json['executionTimeout'],
timezone: json['timezone'],
errorWorkflow: json['errorWorkflow'] != null
? Map<String, dynamic>.from(json['errorWorkflow'])
: null,
callerPolicy: json['callerPolicy'],
callerIds: json['callerIds'] != null
? List<String>.from(json['callerIds'])
: null,
);
}