fromMap static method
Implementation
static IOSInAppBrowserOptions fromMap(Map<String, dynamic> map) {
IOSInAppBrowserOptions options = IOSInAppBrowserOptions();
options.toolbarTopTranslucent = map["toolbarTopTranslucent"];
options.toolbarTopTintColor = UtilColor.fromHex(map["toolbarTopTintColor"]);
options.hideToolbarBottom = map["hideToolbarBottom"];
options.toolbarBottomBackgroundColor =
UtilColor.fromHex(map["toolbarBottomBackgroundColor"]);
options.toolbarBottomTintColor =
UtilColor.fromHex(map["toolbarBottomTintColor"]);
options.toolbarBottomTranslucent = map["toolbarBottomTranslucent"];
options.closeButtonCaption = map["closeButtonCaption"];
options.closeButtonColor = UtilColor.fromHex(map["closeButtonColor"]);
options.presentationStyle =
IOSUIModalPresentationStyle.fromValue(map["presentationStyle"])!;
options.transitionStyle =
IOSUIModalTransitionStyle.fromValue(map["transitionStyle"])!;
return options;
}