DBusMethodErrorResponse.propertyWriteOnly constructor

DBusMethodErrorResponse.propertyWriteOnly([
  1. String? message
])

Creates a new error response when attempting to read to a write-only property.

Implementation

DBusMethodErrorResponse.propertyWriteOnly([String? message])
    : this('org.freedesktop.DBus.Error.PropertyWriteOnly',
          message != null ? [DBusString(message)] : []);