DBusSignature constructor

DBusSignature(
  1. String value
)

Create a new D-Bus signature with the given value.

Implementation

DBusSignature(this.value) {
  if (value.length > 255) {
    throw ArgumentError.value(
        value, 'value', 'Signature maximum length is 255 characters');
  }
  var index = 0;
  while (index < value.length) {
    index = _validate(value, index) + 1;
  }
}