hasOnType property

bool get hasOnType

Whether onType is resolved. An extension declared in a library that is still loading, on a type not declared yet (an import cycle, or a barrel that has not reached the export), is registered at once - importers copy it with the module's exports - and gets its type from resolveOnType once the outermost load returns (GitHub #9). Until then no lookup applies it.

Implementation

bool get hasOnType => _onType != null;