DeviceReader constructor

DeviceReader({
  1. DeviceTypeReader? deviceTypeReader,
  2. ResolutioReader? resolutioReader,
})

Creates a new object of DeviceReader

deviceTypeReader defines a reader capable of parsing an DartObject into DeviceType resolutioReader defines a reader capable of parsing an DartObject into Resolution

Implementation

DeviceReader({
  DeviceTypeReader? deviceTypeReader,
  ResolutioReader? resolutioReader,
})  : deviceTypeReader = deviceTypeReader ?? DeviceTypeReader(),
      resolutioReader = resolutioReader ?? ResolutioReader();