1. Java int[] - integer array
2. Java Object[] - object array
3. Java inputstream - ex: stream received after by listening to TCP - socket
4. Java byte[] - read from file or received as packet from socket via TCP
5. Java char[]
需要有关DART中等效类/基元的帮助。
答案 0 :(得分:2)
List<int>
。使用List<int>()
或<int>[]
List<Object>
。使用List<Object>()
或<Object>[]
Stream<List<int>>
List<int>
。使用List<int>()
或Uint8List.fromList(<int>[1, 2, 3])
另请参阅https://groups.google.com/a/dartlang.org/forum/#!topic/misc/sMEMCGYAYN8