toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  Map<String, dynamic> options = {};

  options.addAll(this.crossPlatform.toMap());
  options.addAll(this.inAppWebViewGroupOptions.crossPlatform.toMap());
  if (Util.isAndroid) {
    options.addAll(this.android.toMap());
    options.addAll(this.inAppWebViewGroupOptions.android.toMap());
  } else if (Util.isIOS) {
    options.addAll(this.ios.toMap());
    options.addAll(this.inAppWebViewGroupOptions.ios.toMap());
  }

  return options;
}