WorkflowExecutionConfiguration.fromJson constructor

WorkflowExecutionConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WorkflowExecutionConfiguration.fromJson(Map<String, dynamic> json) {
  return WorkflowExecutionConfiguration(
    childPolicy: (json['childPolicy'] as String).toChildPolicy(),
    executionStartToCloseTimeout:
        json['executionStartToCloseTimeout'] as String,
    taskList: TaskList.fromJson(json['taskList'] as Map<String, dynamic>),
    taskStartToCloseTimeout: json['taskStartToCloseTimeout'] as String,
    lambdaRole: json['lambdaRole'] as String?,
    taskPriority: json['taskPriority'] as String?,
  );
}