We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b39a7 commit 79b4e85Copy full SHA for 79b4e85
lib/src/models/feed_decorators/local_ad.dart
@@ -60,7 +60,9 @@ abstract class LocalAd extends FeedItem {
60
final videoAdItem = item as LocalVideoAd;
61
return videoAdItem.toJson();
62
default:
63
- throw FormatException('Unknown LocalAd type for toJson: ${item.adType}');
+ throw FormatException(
64
+ 'Unknown LocalAd type for toJson: ${item.adType}',
65
+ );
66
}
67
68
test/src/models/feed_decorators/local_ad_test.dart
@@ -112,7 +112,6 @@ void main() {
112
final json = mockLocalVideoAd.toJson();
113
expect(LocalAd.toJson(mockLocalVideoAd), equals(json));
114
});
115
-
116
117
118
// Test props for a concrete LocalAd subclass (LocalNativeAd)
0 commit comments