fromMap static method

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

Gets a possible IOSWKPDFConfiguration instance from a Map value.

Implementation

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