Client setHmrDevPort(SendPort? devPort) { _devPort = devPort; _hasDefinedDevPort = true; return this; }