toUnsigned method

int toUnsigned()

Returns the unsigned representation of this short (0-65535).

Implementation

int toUnsigned() => _value < 0 ? _value + 65536 : _value;