| Index: pkg/oauth2/lib/src/authorization_code_grant.dart
|
| diff --git a/pkg/oauth2/lib/src/authorization_code_grant.dart b/pkg/oauth2/lib/src/authorization_code_grant.dart
|
| index 5e9cbd2f6a13a822308bcd11301ff28d476fe375..abd0d2e840ca9fc16cb66124730173486e820ccc 100644
|
| --- a/pkg/oauth2/lib/src/authorization_code_grant.dart
|
| +++ b/pkg/oauth2/lib/src/authorization_code_grant.dart
|
| @@ -229,7 +229,7 @@ class AuthorizationCodeGrant {
|
| /// This works just like [handleAuthorizationCode], except it doesn't validate
|
| /// the state beforehand.
|
| Future<Client> _handleAuthorizationCode(String authorizationCode) {
|
| - var startTime = new Date.now();
|
| + var startTime = new DateTime.now();
|
| return _httpClient.post(this.tokenEndpoint, fields: {
|
| "grant_type": "authorization_code",
|
| "code": authorizationCode,
|
|
|