decodedBase64 method
Decodes a base64 encoded string and returns the decoded data as a UTF-8 string.
The dataToDecode parameter is the base64 encoded string that needs to be decoded.
Returns the decoded data as a UTF-8 string.
Implementation
String decodedBase64() {
final List<int> decodedint = base64.decode(this);
return utf8.decode(decodedint);
}