register method

void register()

Register with the current zone's RxRegistrar if it exists

Ideally this should never be called directly, but there are cases where automatic registration will not happen

Implementation

void register() => RxZone.current.registrar?.call(stream);