build method

  1. @override
void build(
  1. PdfPage page,
  2. PdfObject<PdfDataType> object,
  3. PdfDict<PdfDataType> params
)
override

Implementation

@override
void build(PdfPage page, PdfObject object, PdfDict params) {
  super.build(page, object, params);
  if (alternateName != null) {
    params['/TU'] = PdfString.fromString(alternateName!);
  }
  if (mappingName != null) {
    params['/TM'] = PdfString.fromString(mappingName!);
  }

  params['/Ff'] = PdfNum(fieldFlagsValue);
}