DeviceReader constructor
DeviceReader({
- DeviceTypeReader? deviceTypeReader,
- 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();