device property Null safety

Device? device
read / write

Implementation

Device? device;