WorkflowReferenceStatus.fromJson constructor

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

Implementation

factory WorkflowReferenceStatus.fromJson(Map<String, Object?> json) {
  return WorkflowReferenceStatus(
    deprecated: json[r'deprecated'] as bool? ?? false,
    layout: json[r'layout'] != null
        ? WorkflowStatusLayout.fromJson(
            json[r'layout']! as Map<String, Object?>)
        : null,
    properties: json[r'properties'] as Map<String, Object?>?,
    statusReference: json[r'statusReference'] as String?,
  );
}