copyWith method
GenerateScreenBindings
copyWith({
- bool? isAccessibleOnlyIfLoggedInAndVerified,
- bool? isAccessibleOnlyIfLoggedIn,
- bool? isAccessibleOnlyIfLoggedOut,
- bool? isRedirectable,
- String? path,
- Set<
Record> ? internalParameters, - Set<
Record> ? queryParameters, - List<
Record> ? pathSegments, - String? defaultTitle,
- String? makeup,
- String? className,
- String? screenKey,
Implementation
GenerateScreenBindings copyWith({
bool? isAccessibleOnlyIfLoggedInAndVerified,
bool? isAccessibleOnlyIfLoggedIn,
bool? isAccessibleOnlyIfLoggedOut,
bool? isRedirectable,
String? path,
Set<Record>? internalParameters,
Set<Record>? queryParameters,
List<Record>? pathSegments,
String? navigationControlWidget,
String? defaultTitle,
String? makeup,
String? className,
String? screenKey,
}) {
return GenerateScreenBindings(
isAccessibleOnlyIfLoggedInAndVerified:
isAccessibleOnlyIfLoggedInAndVerified ??
this.isAccessibleOnlyIfLoggedInAndVerified,
isAccessibleOnlyIfLoggedIn:
isAccessibleOnlyIfLoggedIn ?? this.isAccessibleOnlyIfLoggedIn,
isAccessibleOnlyIfLoggedOut:
isAccessibleOnlyIfLoggedOut ?? this.isAccessibleOnlyIfLoggedOut,
isRedirectable: isRedirectable ?? this.isRedirectable,
path: path ?? this.path,
internalParameters: internalParameters ?? this.internalParameters,
queryParameters: queryParameters ?? this.queryParameters,
defaultTitle: defaultTitle ?? this.defaultTitle,
makeup: makeup ?? this.makeup,
className: className ?? this.className,
screenKey: screenKey ?? this.screenKey,
);
}