copyWith method

AFPublicState copyWith({
  1. AFRouteState? route,
  2. AFThemeState? themes,
  3. AFComponentStates? components,
  4. AFQueryState? queries,
  5. AFTimeState? time,
  6. AFAppPlatformInfoState? appPlatformInfo,
})

Implementation

AFPublicState copyWith({
  AFRouteState? route,
  AFThemeState? themes,
  AFComponentStates? components,
  AFQueryState? queries,
  AFTimeState? time,
  AFAppPlatformInfoState? appPlatformInfo,
}) {
  return AFPublicState(
    conceptualStore: this.conceptualStore,
    components: components ?? this.components,
    themes: themes ?? this.themes,
    route: route ?? this.route,
    queries: queries ?? this.queries,
    time: time ?? this.time,
    appPlatformInfo: appPlatformInfo ?? this.appPlatformInfo
  );
}