Device constructor

Device({
  1. required String deviceId,
  2. String? name,
  3. List<DeviceAvailability> availability = const [],
  4. String? ip,
  5. bool owned = false,
  6. bool configured = true,
})

Returns a new Device instance.

Implementation

Device({
  required this.deviceId,
  this.name,
  this.availability = const [],
  this.ip,
  this.owned = false,
  this.configured = true,
});