createDirectSource method Null safety

DirectSource createDirectSource()

Create a direct source.

Implementation

DirectSource createDirectSource() => DirectSource(this);