toBase64 method

Future<String> toBase64()

转为base64

Implementation

Future<String> toBase64() async {
  return (await readAsBytes()).toBase64();
}