ActivityTaskTimedOutEventAttributes.fromJson constructor

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

Implementation

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