diff --git a/lib/src/converters/uri_converter.dart b/lib/src/converters/uri_converter.dart index e4e25431..249ea0f8 100644 --- a/lib/src/converters/uri_converter.dart +++ b/lib/src/converters/uri_converter.dart @@ -19,7 +19,7 @@ class UriConverter extends JsonConverter { @override Uri fromJson(String json) { - return Uri.parse(json); + return Uri.parse(json.trim()); } @override