Skip to content

Commit 3fb60f7

Browse files
committed
lint: misc
1 parent 362f62c commit 3fb60f7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/ads/ad_cache_service.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ import 'package:logging/logging.dart';
1616
/// the cache is cleared (e.g., on a full feed refresh).
1717
/// {@endtemplate}
1818
class AdCacheService {
19+
20+
/// Factory constructor to provide the singleton instance.
21+
factory AdCacheService() => _instance;
22+
1923
/// Private constructor for the singleton pattern.
2024
AdCacheService._internal() : _logger = Logger('AdCacheService');
2125

2226
/// The single instance of [AdCacheService].
2327
static final AdCacheService _instance = AdCacheService._internal();
2428

25-
/// Factory constructor to provide the singleton instance.
26-
factory AdCacheService() => _instance;
27-
2829
final Logger _logger;
2930

3031
/// A map to store loaded native ad objects, keyed by their unique ID.

0 commit comments

Comments
 (0)