api.dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.
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);