PdfiumException.fromErrorCode constructor

PdfiumException.fromErrorCode(
  1. int errorCode
)

Factory constructor to create a FileException with an error code

Implementation

factory PdfiumException.fromErrorCode(int errorCode) {
  final e = FileException();
  e.errorCode = errorCode;
  return e;
}