Device constructor

const Device(
  1. String id,
  2. String name
)

Implementation

const Device(this.id, this.name);