Created
May 21, 2018 20:57
-
-
Save graphicbeacon/61a98b41486daaa20791df6d21f4cd91 to your computer and use it in GitHub Desktop.
Sample code for "Building RESTful Web APIs with Dart, Aqueduct and PostgreSQL (Part 3)" post on Medium
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
import '../fave_reads.dart'; | |
class Book extends ManagedObject<_Book> implements _Book {} | |
class _Book { | |
@managedPrimaryKey | |
int id; | |
String title; | |
String author; | |
int year; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment