copyWith method

  1. @override
FastFirebaseRemoteConfigBlocState copyWith({
  1. FirebaseRemoteConfig? config,
  2. bool? isInitializing,
  3. bool? isInitialized,
  4. bool? isActivated,
  5. 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,
  );
}