isAvailable property
bool
isAvailable
Check if the time is available. If ad is not loaded, returns false If it has been the time of timeout since the last load, returns false
Implementation
bool get isAvailable {
if (!isLoaded || lastLoadedTime == null) return false;
final difference = lastLoadedTime!.difference(DateTime.now());
if (difference > timeout) return false;
return true;
}