isBase64 function

bool isBase64(
  1. String str
)

Returns true if str is a valid Base64-encoded string.

Implementation

bool isBase64(String str) => base64Reg.hasMatch(str);