createSource method

  1. @override
Source createSource([
  1. Uri? uri
])
override

Create a new Source instance that serves this file.

Implementation

@override
Source createSource([Uri? uri]) {
  return FileSource(this, uri ?? p.context.toUri(path));
}