WorkflowExecutionSignaledEventAttributes.fromJson constructor

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

Implementation

factory WorkflowExecutionSignaledEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return WorkflowExecutionSignaledEventAttributes(
    signalName: json['signalName'] as String,
    externalInitiatedEventId: json['externalInitiatedEventId'] as int?,
    externalWorkflowExecution: json['externalWorkflowExecution'] != null
        ? WorkflowExecution.fromJson(
            json['externalWorkflowExecution'] as Map<String, dynamic>)
        : null,
    input: json['input'] as String?,
  );
}