asByteArrayAsync property

Future<List<int>?> asByteArrayAsync

Implementation

Future<List<int>?> get asByteArrayAsync async {
  var a = asByteArray;
  if (a != null) return a;
  var bytes = await asByteBufferAsync;
  return bytes?.asUint8List();
}