fetchAds static method
Implementation
static Future<Map<String, dynamic>?> fetchAds({String? type}) async {
final json = await _channel.invokeMethod<String>('fetchAds', {'type': type});
if (json == null) return null;
return jsonDecode(json) as Map<String, dynamic>;
}