addressOverride property

InternetAddress? get addressOverride

The InternetAddress to use instead of the address on the rover.

Implementation

InternetAddress? get addressOverride => switch (rover) {
  RoverType.rover => null,
  RoverType.tank => models.settings.network.tankSocket.address,
  RoverType.localhost => InternetAddress.loopbackIPv4,
};