fetch method
Fetches recommendations for config. Throws a PlatformException if the
native fetch fails.
Implementation
@override
Future<List<TeadsRecommendation>> fetch(
RecommendationsPlacementConfig config,
) async {
fetchCallCount++;
lastConfig = config;
final error = this.error;
if (error != null) throw error;
return recommendations;
}