lastValue property

  1. @override
List<int> lastValue
getter/setter pairoverride-getter

this variable is updated:

  • anytime read() is called
  • anytime write() is called
  • anytime a notification arrives (if subscribed)
  • when the device is disconnected it is cleared

Implementation

@override
List<int> lastValue = [];