isBase64 static method

bool isBase64(
  1. String value
)

check if a string value is base64 encoded

Implementation

static bool isBase64(String value) {
  return _base64.hasMatch(value);
}