fetchData method
Fetches the attachment's data.
Implementation
Future<Uint8List> fetchData() {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Attachment_fetchData(
_handle,
errorHandler,
);
});
return taskHandle.toFuture(
(element) => element.getValueAsUint8List()!,
);
}