TransferableTypedData2.fromList constructor
Creates a new TransferableTypedData2 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 TransferableTypedData2.fromList(List<TypedData> list);