device A reference to the device that generates the measurements or the device settings for the device.
Reference? get device => throw _privateConstructorUsedError;