copyWith method
Creates a new instance of PageInfo with the given parameters
Implementation
PageInfo copyWith({
String? name,
AutoRoutePageBuilder? builder,
}) {
return PageInfo(
name ?? this.name,
builder: builder ?? this.builder,
);
}