isBase64 static method

bool isBase64(
  1. dynamic input
)

Implementation

static bool isBase64(input) {

  try {
    print("IWds true");
    log("IWds true $input");

    base64.decode(input);
    return true;
  } catch (e) {
    print("IWds false $e");
    log("IWds false $e");

    return false;
  }
}