PdfDocumentLoadFailedDetails constructor Null safety

PdfDocumentLoadFailedDetails(
  1. String error,
  2. String description
)

Creates details for SfPdfViewer.onDocumentLoadFailed callback.

Implementation

PdfDocumentLoadFailedDetails(String error, String description) {
  _error = error;
  _description = description;
}