Created
January 31, 2021 14:01
-
-
Save alphamikle/1ced60915e26116446282cf2be0b7f7e to your computer and use it in GitHub Desktop.
Item data class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Item { | |
const Item( | |
this.id, | |
this.createdAt, | |
this.profile, | |
this.imageUrl, | |
); | |
final int id; | |
final DateTime createdAt; | |
final String profile; | |
final String imageUrl; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment