InAppBrowserClassSettings.fromMap constructor

InAppBrowserClassSettings.fromMap(
  1. Map<String, dynamic> options, {
  2. InAppBrowserClassSettings? instance,
})

Implementation

factory InAppBrowserClassSettings.fromMap(Map<String, dynamic> options,
    {InAppBrowserClassSettings? instance}) {
  if (instance == null) {
    instance = InAppBrowserClassSettings();
  }
  instance.browserSettings =
      InAppBrowserSettings.fromMap(options) ?? InAppBrowserSettings();
  instance.webViewSettings =
      InAppWebViewSettings.fromMap(options) ?? InAppWebViewSettings();
  return instance;
}