diff --git a/lib/src/dospace_client.dart b/lib/src/dospace_client.dart index 7302484..ec7c80d 100644 --- a/lib/src/dospace_client.dart +++ b/lib/src/dospace_client.dart @@ -56,7 +56,7 @@ class Client { throw new ClientException( response.statusCode, response.reasonPhrase, response.headers, body); } - xml.XmlDocument doc = xml.parse(body); + xml.XmlDocument doc = xml.XmlDocument.parse(body); return doc; } diff --git a/pubspec.yaml b/pubspec.yaml index 51dffbd..7782f95 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -8,10 +8,10 @@ environment: sdk: '>=2.12.0-29.10.beta <3.0.0' dependencies: - meta: ^1.3.0 - crypto: ^3.0.0 - http: ^0.13.0 - xml: ^5.0.2 + meta: ^1.8.0 + crypto: ^3.0.2 + http: ^0.13.5 + xml: ^6.2.2 dev_dependencies: test: ^1.0.0