Source
static Uint8List list2Uint8List(List<int> input) { if (input is Uint8List) { return input; } return new Uint8List.fromList(input); }
static Uint8List list2Uint8List(List<int> input) { if (input is Uint8List) { return input; } return new Uint8List.fromList(input); }