base64EncodeString function

String base64EncodeString(
  1. String data
)

base64加密字符串

Implementation

String base64EncodeString(String data) => base64Encode(utf8.encode(data));