TransferableTypedData.fromList constructor

TransferableTypedData.fromList(
  1. List<TypedData> list
)

Creates a new TransferableTypedData containing the bytes of list.

It must be possible to create a single Uint8List containing the bytes, so if there are more bytes than what the platform allows in a single Uint8List, then creation fails.

Implementation

external factory TransferableTypedData.fromList(List<TypedData> list);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-isolate/TransferableTypedData/TransferableTypedData.fromList.html