fromMap static method

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

Implementation

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