SourceFile constructor

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

This constructor is deprecated.

Use SourceFile.fromString instead.

Implementation

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