ActivityTaskCancelRequestedEventAttributes.fromJson constructor

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

Implementation

factory ActivityTaskCancelRequestedEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return ActivityTaskCancelRequestedEventAttributes(
    activityId: json['activityId'] as String,
    decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
  );
}