BLEDevice<TRegistration extends BLEDeviceRegistration> constructor

BLEDevice<TRegistration extends BLEDeviceRegistration>({
  1. required String roleName,
  2. bool? isOptional = true,
  3. List<String>? serviceUuids,
  4. String? namePrefix,
  5. int? minRssi,
  6. bool allowDuplicates = true,
  7. Duration? timeout,
})

Implementation

BLEDevice({
  required super.roleName,
  super.isOptional = true,
  List<String>? serviceUuids,
  this.namePrefix,
  this.minRssi,
  this.allowDuplicates = true,
  this.timeout,
}) {
  this.serviceUuids = serviceUuids ?? [];
}