copyWith method
FastFirebaseRemoteConfigBlocState
copyWith({
- FirebaseRemoteConfig? config,
- bool? isInitializing,
- bool? isInitialized,
- bool? isActivated,
- dynamic error,
override
Creates a copy of this TModel but with the given fields replaced with the new values.
For example:
var myModel2 = myModel1.copyWith(age: 42);
Implementation
@override
FastFirebaseRemoteConfigBlocState copyWith({
FirebaseRemoteConfig? config,
bool? isInitializing,
bool? isInitialized,
bool? isActivated,
dynamic error,
}) {
return FastFirebaseRemoteConfigBlocState(
isInitializing: isInitializing ?? this.isInitializing,
isInitialized: isInitialized ?? this.isInitialized,
isActivated: isActivated ?? this.isActivated,
config: config ?? this.config,
error: error,
);
}