StartTimerFailedEventAttributes.fromJson constructor

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

Implementation

factory StartTimerFailedEventAttributes.fromJson(Map<String, dynamic> json) {
  return StartTimerFailedEventAttributes(
    cause: (json['cause'] as String).toStartTimerFailedCause(),
    decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
    timerId: json['timerId'] as String,
  );
}