checkAdShowSuggestion method

Future<bool> checkAdShowSuggestion()
inherited

Implementation

Future<bool> checkAdShowSuggestion() async {
  final result = await _channel.invokeMethod("getShowSuggest", {
    'ad_unit_id': adUnitId,
    'request_id': requestId,
  });
  // 处理返回值,确保是bool类型
  if (result is bool) {
    return result;
  }
  return true;
}