SourceFile constructor

  1. @Deprecated('Will be removed in 2.0.0')
SourceFile(
  1. String text, {
  2. dynamic url,
})

This constructor is deprecated.

Use new SourceFile.fromString instead.

Implementation

@Deprecated('Will be removed in 2.0.0')
SourceFile(String text, {url}) : this.decoded(text.runes, url: url);