build method
Implementation
@override
PdfAnnot build(Context context, PdfRect? box) {
return PdfAnnot(
context.page,
PdfAnnotSquare(
rect: context.localToGlobal(box!),
border: border,
color: color,
interiorColor: interiorColor,
date: date,
author: author,
subject: subject,
),
objser: replaces?.ser,
objgen: replaces?.gen ?? 0,
);
}