jsNull top-level property

  1. @JS('_jsNull')
dynamic jsNull

A JS variable that can be used with Dart interop in order to force returning a JavaScript null. Use this if dart2js is possibly converting Dart null into undefined.

Implementation

@JS('_jsNull')
external get jsNull;