Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Unified Diff: sky/examples/stocks-fn/lib/stock_data.dart

Issue 1027293003: Make it possible to construct a Stock directly (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/lib/stock_data.dart
diff --git a/sky/examples/stocks-fn/lib/stock_data.dart b/sky/examples/stocks-fn/lib/stock_data.dart
index 9ca0de86ff134deaa48a762a50c5de778d6bc672..17e083c1cc3112e87fbfb22c1750127aeacef57b 100644
--- a/sky/examples/stocks-fn/lib/stock_data.dart
+++ b/sky/examples/stocks-fn/lib/stock_data.dart
@@ -23,7 +23,7 @@ class Stock {
String marketCap;
double percentChange;
- Stock(this.symbol, this.name, this.lastSale, this.marketCap);
+ Stock(this.symbol, this.name, this.lastSale, this.marketCap, this.percentChange);
Stock.fromFields(List<String> fields) {
// FIXME: This class should only have static data, not lastSale, etc.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698