urlSafe constant
Base64Codec
const urlSafe
Codec instance to encode and decode 8-bit integer sequence to 6-bit Base-64 character sequence using the alphabet described in RFC-4648 considering the URL and filename safety:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_
It is padded with =
Implementation
static const Base64Codec urlSafe = Base64Codec._(
encoder: AlphabetEncoder(
bits: 6,
padding: _padding,
alphabet: _base64EncodingRfc4648UrlSafe,
),
decoder: AlphabetDecoder(
bits: 6,
padding: _padding,
alphabet: _base64DecodingRfc4648,
),
);