Skip to content

Instantly share code, notes, and snippets.

@mcsee
Created September 28, 2025 14:57
Show Gist options
  • Save mcsee/314166c97119e52d03ae87e4e8d2eb0c to your computer and use it in GitHub Desktop.
Save mcsee/314166c97119e52d03ae87e4e8d2eb0c to your computer and use it in GitHub Desktop.

Revisions

  1. mcsee created this gist Sep 28, 2025.
    11 changes: 11 additions & 0 deletions published.dart
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    class Article {
    final DateTime publishDate;
    final String title;
    final String content;

    Article({
    required this.publishDate,
    required this.title,
    required this.content,
    });
    }