StatusWord.fromValue constructor
StatusWord.fromValue(
- int value
Decodes the 16-bit form card specifications are written in, such as 0x6A82.
Implementation
factory StatusWord.fromValue(int value) {
if (value < 0 || value > 0xFFFF) throw ArgumentError.value(value, 'value', 'is not a 16-bit status word');
return _decode((value >> 8) & 0xFF, value & 0xFF);
}