matches static method

bool matches(
  1. String s
)

Returns true if s is in Data URL (Base-64) format.

Implementation

static bool matches(String s) {
  return DataURLBase64.parse(s) != null;
}