addInitiatedConnection method

Device addInitiatedConnection(
  1. String endpointId,
  2. Uint8List endpointName
)

Creates a device in initiatedConnections set.

Implementation

Device addInitiatedConnection(String endpointId, Uint8List endpointName) {
  var device = Device(endpointId, endpointName);
  initiatedConnections.add(device);
  return device;
}