base64Decoded property

String base64Decoded

Decodes a base64 encoded string back into a regular string. This is the inverse operation of base64 encoding.

Example usage:

print('SGVsbG8gV29ybGQ='.base64Decoded); // Output: 'Hello World'

Implementation

String get base64Decoded => utf8.decode(base64.decode(this));