NetworkNode constructor

const NetworkNode({
  1. required String id,
  2. required String ip,
  3. required NetworkNodeStatus status,
  4. required NetworkNodeType type,
  5. String? hostname,
  6. String? mac,
  7. int? latencyMs,
  8. List<int> openPorts = const [],
  9. DateTime? lastSeen,
  10. String? vendor,
  11. String? label,
})

Implementation

const NetworkNode({
  required this.id,
  required this.ip,
  required this.status,
  required this.type,
  this.hostname,
  this.mac,
  this.latencyMs,
  this.openPorts = const [],
  this.lastSeen,
  this.vendor,
  this.label,
});