CharacteristicProperties constructor
CharacteristicProperties({})
Implementation
factory CharacteristicProperties({
$core.bool? broadcast,
$core.bool? read,
$core.bool? writeWithoutResponse,
$core.bool? write,
$core.bool? notify,
$core.bool? indicate,
$core.bool? authenticatedSignedWrites,
$core.bool? extendedProperties,
$core.bool? notifyEncryptionRequired,
$core.bool? indicateEncryptionRequired,
}) {
final $result = create();
if (broadcast != null) {
$result.broadcast = broadcast;
}
if (read != null) {
$result.read = read;
}
if (writeWithoutResponse != null) {
$result.writeWithoutResponse = writeWithoutResponse;
}
if (write != null) {
$result.write = write;
}
if (notify != null) {
$result.notify = notify;
}
if (indicate != null) {
$result.indicate = indicate;
}
if (authenticatedSignedWrites != null) {
$result.authenticatedSignedWrites = authenticatedSignedWrites;
}
if (extendedProperties != null) {
$result.extendedProperties = extendedProperties;
}
if (notifyEncryptionRequired != null) {
$result.notifyEncryptionRequired = notifyEncryptionRequired;
}
if (indicateEncryptionRequired != null) {
$result.indicateEncryptionRequired = indicateEncryptionRequired;
}
return $result;
}