toBase64 static method

String toBase64(
  1. Uint8List bytes
)

字节数组 → base64 字符串。

Implementation

static String toBase64(Uint8List bytes) => base64.encode(bytes);