base64Sync property
String?
base64Sync
Convert File to base64 sync
Implementation
String? get base64Sync {
if (this == null) {
return null;
} else {
List<int> fileBytes = readAsBytesSync();
return base64Encode(fileBytes);
}
}