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

Unified Diff: lib/src/bind_property.dart

Issue 1616953004: Fixed strong mode errors and warnings reachable from lib/observe.dart (Closed) Base URL: https://github.com/dart-lang/observe.git@master
Patch Set: Removed inferrable type param Created 4 years, 11 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 | « lib/mirrors_used.dart ('k') | lib/src/change_notifier.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/bind_property.dart
diff --git a/lib/src/bind_property.dart b/lib/src/bind_property.dart
index 21e14f96e86389775b31404ff0df23425e9cb186..805507a94c5101b043c114b2e76234318c4f27d3 100644
--- a/lib/src/bind_property.dart
+++ b/lib/src/bind_property.dart
@@ -25,8 +25,8 @@ import 'package:observe/observe.dart';
///
/// See also [notifyPropertyChange].
// TODO(jmesserly): make this an instance method?
-StreamSubscription onPropertyChange(Observable source, Symbol sourceName,
- void callback()) {
+StreamSubscription onPropertyChange(
+ Observable source, Symbol sourceName, void callback()) {
return source.changes.listen((records) {
for (var record in records) {
if (record is PropertyChangeRecord &&
« no previous file with comments | « lib/mirrors_used.dart ('k') | lib/src/change_notifier.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698