upgrade min sdk; run formatter

This commit is contained in:
Fabian Freund
2025-06-02 22:25:10 +02:00
parent 8fccd767af
commit ad03cc9bac
171 changed files with 4817 additions and 4685 deletions
@@ -15,13 +15,9 @@ extension WebFeedJson on WebFeed {
title: json['title'] as String,
description: json['description'] as String,
links: (json['links'] as List).cast<String?>(),
items:
(json['items'] as List)
.map(
(item) =>
WebFeedItemJson.fromJson(item as Map<String, dynamic>),
)
.toList(),
items: (json['items'] as List)
.map((item) => WebFeedItemJson.fromJson(item as Map<String, dynamic>))
.toList(),
);
}
}
@@ -41,10 +37,9 @@ extension WebFeedItemJson on WebFeedItem {
title: json['title'] as String,
body: json['body'] as String,
links: (json['links'] as List).cast<String?>(),
updated:
json['updated'] != null
? DateTime.parse(json['updated'] as String)
: null,
updated: json['updated'] != null
? DateTime.parse(json['updated'] as String)
: null,
);
}
}