Skip to content

Commit

Permalink
fix formatting for latest dev SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Sep 4, 2020
1 parent c960975 commit d51cdb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/string_scanner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ class StringScanner {
StringScanner(this.string, {sourceUrl, int? position})
: sourceUrl = sourceUrl == null
? null
: sourceUrl is String ? Uri.parse(sourceUrl) : sourceUrl as Uri {
: sourceUrl is String
? Uri.parse(sourceUrl)
: sourceUrl as Uri {
if (position != null) this.position = position;
}

Expand Down

0 comments on commit d51cdb7

Please sign in to comment.