copyWith method

NopRouteSettings copyWith({
  1. String? name,
  2. Object? arguments,
  3. Object? group,
  4. NopRoute? route,
})

Implementation

NopRouteSettings copyWith({
  String? name,
  Object? arguments,
  Object? group,
  NopRoute? route,
}) {
  return NopRouteSettings(
    name: name ?? this.name,
    arguments: arguments ?? this.arguments,
    group: group ?? this.group,
    route: route ?? this.route,
  );
}