toBase64 property

String get toBase64

? Convert File To Base64

Implementation

String get toBase64 {
  List<int> imageBytes = readAsBytesSync();
  return base64Encode(imageBytes);
}