RequestCancelActivityTaskFailedEventAttributes.fromJson constructor
RequestCancelActivityTaskFailedEventAttributes.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RequestCancelActivityTaskFailedEventAttributes.fromJson(
Map<String, dynamic> json) {
return RequestCancelActivityTaskFailedEventAttributes(
activityId: json['activityId'] as String,
cause: (json['cause'] as String).toRequestCancelActivityTaskFailedCause(),
decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
);
}