readerSafeKeys constant

Set<String> const readerSafeKeys

Keys allowed inside the reader sub-map. Anything else is silently dropped to keep the wire shape stable.

Implementation

static const Set<String> readerSafeKeys = {
  'id',
  'vendor',
  'modelKey',
  'transport',
  'serialNumber',
  'batteryPercent',
};