WorkflowStatusUpdate.fromJson constructor

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

Implementation

factory WorkflowStatusUpdate.fromJson(Map<String, Object?> json) {
  return WorkflowStatusUpdate(
    description: json[r'description'] as String?,
    id: json[r'id'] as String?,
    name: json[r'name'] as String? ?? '',
    statusCategory: WorkflowStatusUpdateStatusCategory.fromValue(
        json[r'statusCategory'] as String? ?? ''),
    statusReference: json[r'statusReference'] as String? ?? '',
  );
}