copyWith method
Implementation
PdfPageFormat copyWith(
{double? width,
double? height,
double? marginTop,
double? marginBottom,
double? marginLeft,
double? marginRight}) {
return PdfPageFormat(width ?? this.width, height ?? this.height,
marginTop: marginTop ?? this.marginTop,
marginBottom: marginBottom ?? this.marginBottom,
marginLeft: marginLeft ?? this.marginLeft,
marginRight: marginRight ?? this.marginRight);
}