unpad property

String unpad

unpad remove all base64 padding characters.

see: https://docs.imgix.com/apis/url

Please keep in mind that this uses the URL-safe alphabet as defined in RFC 4648, and that any padding characters (=) must be omitted from the final encoded value.

Implementation

String get unpad => replaceAll('=', '');