TimerStartedEventAttributes.fromJson constructor

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

Implementation

factory TimerStartedEventAttributes.fromJson(Map<String, dynamic> json) {
  return TimerStartedEventAttributes(
    decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
    startToFireTimeout: json['startToFireTimeout'] as String,
    timerId: json['timerId'] as String,
    control: json['control'] as String?,
  );
}