DiscoverServicesResult constructor

DiscoverServicesResult({
  1. String? remoteId,
  2. Iterable<BluetoothService>? services,
})

Implementation

factory DiscoverServicesResult({
  $core.String? remoteId,
  $core.Iterable<BluetoothService>? services,
}) {
  final $result = create();
  if (remoteId != null) {
    $result.remoteId = remoteId;
  }
  if (services != null) {
    $result.services.addAll(services);
  }
  return $result;
}