class FirebaseRemoteConfig {

  @NonNull
  public Task<Void> fetch() {
    Task<FetchResponse> fetchTask = fetchHandler.fetch();

    // Convert Task type to Void.
    return fetchTask.onSuccessTask((unusedFetchResponse) -> Tasks.forResult(null));
  }

    FirebaseRemoteConfig(
      Context context,
      FirebaseApp firebaseApp,
      FirebaseInstallationsApi firebaseInstallations,
      @Nullable FirebaseABTesting firebaseAbt,
      Executor executor,
      ConfigCacheClient fetchedConfigsCache,
      ConfigCacheClient activatedConfigsCache,
      ConfigCacheClient defaultConfigsCache,
      ConfigFetchHandler fetchHandler,
      ConfigGetParameterHandler getHandler,
      ConfigMetadataClient frcMetadata);

}