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;
}