True when source looks like base64 image data (with or without a data: prefix).
source
static bool isBase64(String source) => tryParse(source) != null;