fetchAndActivate method
Performs a fetch and activate operation, as a convenience.
Returns bool
in the same way that is done for activate.
A FirebaseException
maybe thrown with the following error code:
- forbidden:
- Thrown if the Google Cloud Platform Firebase Remote Config API is disabled
Implementation
@override
Future<bool> fetchAndActivate() async {
await fetch();
return activate();
}