Encodes bytes using base64 encoding.
bytes
Shorthand for base64.encode(bytes). Useful if a local variable shadows the global base64 constant.
base64.encode(bytes)
String base64Encode(List<int> bytes) => base64.encode(bytes);