Device constructor

Device(
  1. String id,
  2. String displayName,
  3. String description,
  4. String manufacturerName,
  5. String model,
  6. String? serialNumber,
  7. GDateTime createdAt,
  8. GDateTime updatedAt,
  9. List<Trait> traits,
)

Implementation

Device(
    this.id,
    this.displayName,
    this.description,
    this.manufacturerName,
    this.model,
    this.serialNumber,
    this.createdAt,
    this.updatedAt,
    this.traits);