fromMap static method

InAppWebViewGroupOptions fromMap(
  1. Map<String, dynamic> options
)

Implementation

static InAppWebViewGroupOptions fromMap(Map<String, dynamic> options) {
  InAppWebViewGroupOptions inAppWebViewGroupOptions =
      InAppWebViewGroupOptions();

  inAppWebViewGroupOptions.crossPlatform =
      InAppWebViewOptions.fromMap(options);
  if (Util.isAndroid)
    inAppWebViewGroupOptions.android =
        AndroidInAppWebViewOptions.fromMap(options);
  else if (Util.isIOS)
    inAppWebViewGroupOptions.ios = IOSInAppWebViewOptions.fromMap(options);

  return inAppWebViewGroupOptions;
}