fromMap static method

InAppBrowserOptions fromMap(
  1. Map<String, dynamic> map
)
override

Implementation

static InAppBrowserOptions fromMap(Map<String, dynamic> map) {
  InAppBrowserOptions options = InAppBrowserOptions();
  options.hidden = map["hidden"];
  options.hideToolbarTop = map["hideToolbarTop"];
  options.toolbarTopBackgroundColor =
      UtilColor.fromHex(map["toolbarTopBackgroundColor"]);
  options.hideUrlBar = map["hideUrlBar"];
  options.hideProgressBar = map["hideProgressBar"];
  return options;
}