copyWith method
Context
copyWith({
- PdfPage? page,
- PdfGraphics? canvas,
- Matrix4? ctm,
- HashMap<
Type, Inherited> ? inherited,
Implementation
Context copyWith({
PdfPage? page,
PdfGraphics? canvas,
Matrix4? ctm,
HashMap<Type, Inherited>? inherited,
}) {
return Context._(
document: document,
page: page ?? _page,
canvas: canvas ?? _canvas,
inherited: inherited ?? _inherited,
);
}