ReadCharacteristicRequest constructor

ReadCharacteristicRequest({
  1. String? remoteId,
  2. String? characteristicUuid,
  3. String? serviceUuid,
  4. String? secondaryServiceUuid,
})

Implementation

factory ReadCharacteristicRequest({
  $core.String? remoteId,
  $core.String? characteristicUuid,
  $core.String? serviceUuid,
  $core.String? secondaryServiceUuid,
}) {
  final _result = create();
  if (remoteId != null) {
    _result.remoteId = remoteId;
  }
  if (characteristicUuid != null) {
    _result.characteristicUuid = characteristicUuid;
  }
  if (serviceUuid != null) {
    _result.serviceUuid = serviceUuid;
  }
  if (secondaryServiceUuid != null) {
    _result.secondaryServiceUuid = secondaryServiceUuid;
  }
  return _result;
}