decodeBase64 static method

String decodeBase64(
  1. String data
)

Implementation

static String decodeBase64(String data){
  var charCodes = String.fromCharCodes(base64Decode(data));
  if((charCodes??'').isEmpty)return '';
  var content = utf8.decode(charCodes.codeUnits);
  return content;
}