parsePayloadAsString static method

String? parsePayloadAsString(
  1. String dataURL
)

Parses the Data URL to decoded string.

Implementation

static String? parsePayloadAsString(String dataURL) {
  var data = parsePayloadAsArrayBuffer(dataURL);
  return data != null ? latin1.decode(data) : null;
}