DBusArray.unchecked constructor

DBusArray.unchecked(
  1. DBusSignature childSignature, [
  2. Iterable<DBusValue> children = const []
])

Creates a new empty D-Bus array containing children.

No checking is performed on the validity of children. This function is useful when you need a constant value (e.g. for a parameter default value). In all other cases use the standard constructor.

Implementation

DBusArray.unchecked(this.childSignature,
    [Iterable<DBusValue> children = const []])
    : children = children.toList();