What is the Dart equivalent of Java byte[]
Dart has a dart:typed_data
core library exactly for this purpose:
https://api.dartlang.org/stable/1.24.3/dart-typed_data/dart-typed_data-library.html
I'm not 100% sure of how this maps to the Flutter plugin model, though I suspect a Flutter user or developer can fill us in :)
Here is the standard type mapping for platform channels:
https://flutter.io/platform-channels/#codec
On Android, byte[]
maps to Uint8List
.