📅  最后修改于: 2022-03-11 15:00:55.029000             🧑  作者: Mango
String text = "base64encode.tech";
Codec stringToBase64 = utf8.fuse(base64);
String encoded = stringToBase64.encode(text);
print('base64: $encoded');