Handle null being memoized. Fixes #76.

BUG=https://github.com/dart-lang/dart_style/issues/76
R=leafp@google.com

Review URL: https://chromiumcodereview.appspot.com//796653002