Skip to content

Commit

Permalink
UriConverterで前後の余分な空白やタブを除去してからUriを得る
Browse files Browse the repository at this point in the history
  • Loading branch information
darlington95 committed Apr 4, 2024
1 parent 362e7af commit 3e18be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/converters/uri_converter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class UriConverter extends JsonConverter<Uri, String> {

@override
Uri fromJson(String json) {
return Uri.parse(json);
return Uri.parse(json.trim());
}

@override
Expand Down

0 comments on commit 3e18be8

Please sign in to comment.