Closed raveesh-me closed 6 years ago
recommended reading: https://www.dartlang.org/guides/language/effective-dart/usage#do-use--instead-of--for-empty-constructor-bodies
try it with function see if it works. Let me know if it doesent
I recall it doesn't. No need to change anything.
https://github.com/jackfrost13/observer-pattern/blob/7d06046d335df2e9cc39da0faa33b32463f3d0c9/Observer.dart#L3
you don't really need the
{}
just end it with;