EthereumByteAddress.fromIntList constructor
If the length is greater than addressByteLength then addressByteLength are taken. If the length is less than addressByteLength the size is padded to addressByteLength with 0's. Each int must be < 255, if not it is discarded and the value set to 0.
Implementation
EthereumByteAddress.fromIntList(List<int> data) {
final tmp = ByteData(data.length);
for (var i = 0; i < tmp.lengthInBytes; i++) {
if (data[i] <= 255) {
tmp.setUint8(i, data[i]);
}
}
_setData(tmp);
}