fromMap static method
Gets a possible WebViewEnvironmentSettings instance from a Map value.
Implementation
static WebViewEnvironmentSettings? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = WebViewEnvironmentSettings(
additionalBrowserArguments: map['additionalBrowserArguments'],
allowSingleSignOnUsingOSPrimaryAccount:
map['allowSingleSignOnUsingOSPrimaryAccount'],
browserExecutableFolder: map['browserExecutableFolder'],
language: map['language'],
targetCompatibleBrowserVersion: map['targetCompatibleBrowserVersion'],
userDataFolder: map['userDataFolder'],
);
return instance;
}