Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sample code for 'Learn Dart Before You Flutter' blog post on Medium (2)
class Order {
var _id;
var _reference;
var _date;
Order(this._id, this._reference, this._date);
getInfo() {
return 'Your order information:'
'\n Id: $_id'
'\n Reference: $_reference'
'\n Date: $_date'
void main() {
var order1 = new Order(1, 'ref1', new;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.