BluetoothDescriptor constructor

BluetoothDescriptor({
  1. String? uuid,
  2. String? remoteId,
  3. String? serviceUuid,
  4. String? characteristicUuid,
  5. List<int>? value,
})

Implementation

factory BluetoothDescriptor({
  $core.String? uuid,
  $core.String? remoteId,
  $core.String? serviceUuid,
  $core.String? characteristicUuid,
  $core.List<$core.int>? value,
}) {
  final _result = create();
  if (uuid != null) {
    _result.uuid = uuid;
  }
  if (remoteId != null) {
    _result.remoteId = remoteId;
  }
  if (serviceUuid != null) {
    _result.serviceUuid = serviceUuid;
  }
  if (characteristicUuid != null) {
    _result.characteristicUuid = characteristicUuid;
  }
  if (value != null) {
    _result.value = value;
  }
  return _result;
}