copyWith method
AFPublicState
copyWith({
- AFRouteState? route,
- AFThemeState? themes,
- AFComponentStates? components,
- AFQueryState? queries,
- AFTimeState? time,
- 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
);
}