isRewardedReady method
Returns whether a rewarded ad is ready for the given ad unit ID.
Implementation
Future<bool> isRewardedReady(String adUnitId) async {
try {
final result = await _channel.invokeMethod<bool>(
'isRewardedReady',
{'adUnitId': adUnitId},
);
return result ?? false;
} catch (e) {
debugPrint('Error checking rewarded readiness: $e');
return false;
}
}