RecordMarkerFailedEventAttributes.fromJson constructor

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

Implementation

factory RecordMarkerFailedEventAttributes.fromJson(
    Map<String, dynamic> json) {
  return RecordMarkerFailedEventAttributes(
    cause: (json['cause'] as String).toRecordMarkerFailedCause(),
    decisionTaskCompletedEventId: json['decisionTaskCompletedEventId'] as int,
    markerName: json['markerName'] as String,
  );
}