fromBase64 property

String? get fromBase64

Decodes a base64 encoded string.

@return The decoded string, or null if decoding fails.

Implementation

String? get fromBase64 {
  try {
    return utf8.decode(base64.decode(this));
  } catch (e) {
    return null;
  }
}