DeviceConnection constructor

DeviceConnection({
  1. String? endpoint,
  2. required DeviceAvailability type,
})

Returns a new DeviceConnection instance.

Implementation

DeviceConnection({
  this.endpoint,
  required this.type,
});