createSource method Null safety

Source createSource(
  1. [Uri? uri]
)

Create a new Source instance that serves this file.

Implementation

Source createSource([Uri? uri]);