copyWith method

GenerateScreenBindings copyWith({
  1. bool? isAccessibleOnlyIfLoggedInAndVerified,
  2. bool? isAccessibleOnlyIfLoggedIn,
  3. bool? isAccessibleOnlyIfLoggedOut,
  4. bool? isRedirectable,
  5. String? path,
  6. Set<Record>? internalParameters,
  7. Set<Record>? queryParameters,
  8. List<Record>? pathSegments,
  9. String? navigationControlWidget,
  10. String? defaultTitle,
  11. String? makeup,
  12. String? className,
  13. 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,
  );
}