WorkflowElementReference.fromJson constructor

WorkflowElementReference.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory WorkflowElementReference.fromJson(Map<String, Object?> json) {
  return WorkflowElementReference(
    propertyKey: json[r'propertyKey'] as String?,
    ruleId: json[r'ruleId'] as String?,
    statusMappingReference: json[r'statusMappingReference'] != null
        ? ProjectAndIssueTypePair.fromJson(
            json[r'statusMappingReference']! as Map<String, Object?>)
        : null,
    statusReference: json[r'statusReference'] as String?,
    transitionId: json[r'transitionId'] as String?,
  );
}