copyWith method
WebBrowserSettings
copyWith({
- bool? openExternalBrowser,
- List<
WebDomainException> ? externalExceptions, - List<
WebDomainException> ? inAppExceptions, - bool? displayCloseButton,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
WebBrowserSettings copyWith({
bool? openExternalBrowser,
List<WebDomainException>? externalExceptions,
List<WebDomainException>? inAppExceptions,
bool? displayCloseButton,
}) => WebBrowserSettings(
openExternalBrowser: openExternalBrowser ?? this.openExternalBrowser,
externalExceptions: externalExceptions ?? this.externalExceptions,
inAppExceptions: inAppExceptions ?? this.inAppExceptions,
displayCloseButton: displayCloseButton ?? this.displayCloseButton,
);