buildImage method
Implementation
@override
PdfImage buildImage(pw.Context context, {int? width, int? height}) {
return PdfImage(
context.document,
image: bytes,
width: width ?? this.width!,
height: height ?? this.height!,
orientation: orientation,
);
}