Creates a new source file from text.
text
url may be either a String, a Uri, or null.
url
null
SourceFile.fromString(String text, {Object? url}) : this.decoded(text.codeUnits, url: url);