base64 method
The message digest as a Base-64 string with no padding.
If urlSafe is true, the output will have URL-safe base64 alphabets.
If padding is true, the output will have = padding at the end.
Implementation
String base64({bool urlSafe = false, bool padding = true}) =>
toBase64(bytes, padding: padding, url: urlSafe);