addWord method Null safety

void addWord(
  1. int val
)

Add a word, 32 bits, this will overflow on values > 2**32-1

Implementation

void addWord(int val) {
  final tmp = Uint32List.fromList(<int>[val]);
  _payload!.addAll(tmp.buffer.asInt8List());
}