fromMap static method
Implementation
static IOSSafariOptions fromMap(Map<String, dynamic> map) {
IOSSafariOptions options = IOSSafariOptions();
options.entersReaderIfAvailable = map["entersReaderIfAvailable"];
options.barCollapsingEnabled = map["barCollapsingEnabled"];
options.dismissButtonStyle =
IOSSafariDismissButtonStyle.fromNativeValue(map["dismissButtonStyle"])!;
options.preferredBarTintColor =
UtilColor.fromHex(map["preferredBarTintColor"]);
options.preferredControlTintColor =
UtilColor.fromHex(map["preferredControlTintColor"]);
options.presentationStyle =
IOSUIModalPresentationStyle.fromNativeValue(map["presentationStyle"])!;
options.transitionStyle =
IOSUIModalTransitionStyle.fromNativeValue(map["transitionStyle"])!;
return options;
}