Skip to content

Commit 36554ca

Browse files
committed
fix(lib): fix publishedAt type
1 parent 83ee743 commit 36554ca

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/src/types/video.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Video {
5050
final String description;
5151

5252
/// The date and time the API created the video. Date and time are provided using ISO-8601 UTC format.
53-
final String publishedAt;
53+
final DateTime publishedAt;
5454

5555
/// The date and time the video was updated. Date and time are provided using ISO-8601 UTC format.
5656
final DateTime updatedAt;

lib/src/types/video.g.dart

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)