isBase64 function

bool isBase64(
  1. String value
)

Implementation

bool isBase64(String value) {
  try {
    return base64Validate(value);
  } catch (e) {
    return false;
  }
}