copyWith method

  1. @override
FFRouteSettings copyWith({
  1. String? name,
  2. Object? arguments,
  3. PageBuilder? builder,
  4. bool? showStatusBar,
  5. String? routeName,
  6. PageRouteType? pageRouteType,
  7. String? description,
  8. Map<String, dynamic>? exts,
  9. Map<String, dynamic>? codes,
})

Implementation

@override
FFRouteSettings copyWith({
  String? name,
  Object? arguments,
  PageBuilder? builder,
  bool? showStatusBar,
  String? routeName,
  PageRouteType? pageRouteType,
  String? description,
  Map<String, dynamic>? exts,
  Map<String, dynamic>? codes,
}) {
  return FFRouteSettings(
    name: name ?? this.name!,
    arguments: arguments ?? this.arguments,
    builder: builder ?? this.builder,
    showStatusBar: showStatusBar ?? this.showStatusBar,
    routeName: routeName ?? this.routeName,
    pageRouteType: pageRouteType ?? this.pageRouteType,
    description: description ?? this.description,
    exts: exts ?? this.exts,
    codes: codes ?? this.codes,
  );
}