DecisionTaskTimedOutEventAttributes.fromJson constructor

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

Implementation

factory DecisionTaskTimedOutEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return DecisionTaskTimedOutEventAttributes(
    scheduledEventId: json['scheduledEventId'] as int,
    startedEventId: json['startedEventId'] as int,
    timeoutType: (json['timeoutType'] as String).toDecisionTaskTimeoutType(),
  );
}