ActivityTaskTimedOutEventAttributes.fromJson constructor
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?,
);
}