Stack Exchange
Stack Overflow
  • Questions
  • Tags
  • Users
  • About
Stack Overflow
    1. Public
    2. Questions
    3. Tags
    4. Users
    5. About

Object.watch() Dart equivalent

Asked Nov 24 '14 at 10:31
Active Nov 24 '14 at 12:06
Viewed 206 times
1

I wish to know if Dart has an implementation equivalent of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch ?

dart
asked Nov 24 '14 at 10:31
Druxtan
  • 1,311
  • 2
  • 15
  • 21

1 Answers1

2

The observe package might do what you want.

See also for an example

  • Functionality in parent class needs to detect changes to child class properties
  • Implement an Observer pattern in Dart
  • How to use Dart ChangeNotifier class?
  • How to replace deprectaed notifyProperty?
  • Dart: Using observale with multiple getters/setter
  • Observe package from polymer dart
edited May 23 '17 at 12:20
Community
  • 1
  • 1
answered Nov 24 '14 at 10:37
Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567