DeviceClass constructor

DeviceClass({
  1. required int value,
})

try to use required here indicating that value is non nullable.

Implementation

DeviceClass({required this.value});