copyWithDefaultSettings method

UIRoute<T> copyWithDefaultSettings(
  1. UIRouteSettings settings
)

Returns copy of this object with changed default settings

Implementation

UIRoute<T> copyWithDefaultSettings(UIRouteSettings settings) {
  return UIRoute<T>(name: name, child: child, defaultSettings: settings);
}