DBusUint16 constructor

const DBusUint16(
  1. int value
)

Creates a new unsigned 16 bit integer with the given value.

Implementation

const DBusUint16(this.value)
    : assert(
          value >= 0 && value <= 65535, 'Uint16 must be in range [0, 65535]');