WorkflowStatusAndPort.fromJson constructor

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

Implementation

factory WorkflowStatusAndPort.fromJson(Map<String, Object?> json) {
  return WorkflowStatusAndPort(
    port: (json[r'port'] as num?)?.toInt(),
    statusReference: json[r'statusReference'] as String?,
  );
}