Returns true if str is a valid Base64-encoded string.
true
str
bool isBase64(String str) => base64Reg.hasMatch(str);