staticInterop top-level constant Null safety

_StaticInterop const staticInterop

staticInterop enables the JS annotated class to be treated as a "static" interop class.

These classes allow interop with native types, like the ones in dart:html. These classes should not contain any instance members, inherited or otherwise, and should instead use static extension members.

Implementation

const _StaticInterop staticInterop = _StaticInterop();