WorkflowExecutionFailedEventAttributes.fromJson constructor

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

Implementation

factory WorkflowExecutionFailedEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return WorkflowExecutionFailedEventAttributes(
    decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
    details: json['details'] as String?,
    reason: json['reason'] as String?,
  );
}