tamanhoPdfBytes property

int? get tamanhoPdfBytes

Obtém o tamanho estimado do PDF em bytes

Implementation

int? get tamanhoPdfBytes {
  final pdf = pdfBase64;
  if (pdf == null) return null;

  // Base64 tem overhead de ~33%, então dividimos por 1.33
  return (pdf.length / 1.33).round();
}