7651177cf1
Improves the error message when calling a null function, by suggesting to the user that null may be the problem. Also prefixes the errors with 'NoSuchMethodError' to match Dart user expectations (the Dart type that users can catch is indeed NoSuchMethodError). Change-Id: Ia9bca5bc2a3e33e83f0c3728b48f7b17f98dcc6a Reviewed-on: https://dart-review.googlesource.com/66228 Commit-Queue: Jenny Messerly <jmesserly@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com>