device property

SerialDevice device
final

The serial device representing the GPS.

Implementation

final SerialDevice device = SerialDevice(
  portName: gpsPort,
  readInterval: const Duration(seconds: 1),
  logger: logger,
);