SourceFile constructor

  1. @Deprecated('Will be removed in 2.0.0')
SourceFile(String text, { 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);