fromMap static method

PDFConfiguration? fromMap(
  1. Map<String, dynamic>? map
)

Gets a possible PDFConfiguration instance from a Map value.

Implementation

static PDFConfiguration? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = PDFConfiguration(
    rect: InAppWebViewRect.fromMap(map['rect']?.cast<String, dynamic>()),
  );
  return instance;
}