parsePayloadAsArrayBuffer static method
Parses the Data URL to am array buffer.
Implementation
static Uint8List? parsePayloadAsArrayBuffer(String dataURL) {
var payload = parsePayloadAsBase64(dataURL);
return payload != null ? base64.decode(payload) : null;
}