u8aConcat function
Implementation
Uint8List u8aConcat(List<dynamic> list) {
var u8as =
List<Uint8List>.generate(list.length, (index) => Uint8List.fromList([]));
for (var i = 0; i < list.length; i += 1) {
u8as[i] = u8aToU8a(list[i]);
}
final expandedList = u8as.expand((element) => element).toList();
final result = Uint8List.fromList(expandedList);
return result;
}