PdfPreflightSignaturesFastReport.fromJson constructor

PdfPreflightSignaturesFastReport.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PdfPreflightSignaturesFastReport.fromJson(Map<String, dynamic> json) {
  final list = (json['signatures'] as List<dynamic>? ?? const <dynamic>[])
      .whereType<Map>()
      .map((e) => PdfPreflightSignatureFastInfo.fromJson(
          e.map((k, v) => MapEntry(k.toString(), v))))
      .toList(growable: false);
  return PdfPreflightSignaturesFastReport(signatures: list);
}