-
Notifications
You must be signed in to change notification settings - Fork 56
chore:Fixed errors from flutter analyze #727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -497,7 +497,8 @@ void main() { | |||||
|
|
||||||
| for (final errorCase in errorCases) { | ||||||
| when(mockClientProxy.exchangeToken(any)) | ||||||
| .thenThrow(createJsException(errorCase['code']!, errorCase['message']!)); | ||||||
| .thenThrow(createJsException(errorCase['code']!, | ||||||
| errorCase['message']!)); | ||||||
|
||||||
| errorCase['message']!)); | |
| errorCase['message']!)); |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -41,7 +41,9 @@ abstract class Auth0FlutterWebPlatform extends PlatformInterface { | |||||||||
| } | ||||||||||
|
|
||||||||||
| Future<Credentials> customTokenExchange(final ExchangeTokenOptions options) { | ||||||||||
| throw UnimplementedError('web.customTokenExchange has not been implemented'); | ||||||||||
| throw UnimplementedError( | ||||||||||
| 'web.customTokenExchange has not been implemented' | ||||||||||
| ); | ||||||||||
|
Comment on lines
+44
to
+46
|
||||||||||
| throw UnimplementedError( | |
| 'web.customTokenExchange has not been implemented' | |
| ); | |
| throw UnimplementedError('web.customTokenExchange has not been implemented'); |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,9 +7,11 @@ | |||||
| /// | ||||||
| /// * [subjectToken] - The external token to be exchanged (required) | ||||||
| /// * [subjectTokenType] - A URI that indicates the type of the subject token, | ||||||
|
||||||
| /// * [subjectTokenType] - A URI that indicates the type of the subject token, | |
| /// * [subjectTokenType] - A URI that indicates the type of the subject token (required) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation for
subjectTokenis inconsistent with other parameter descriptions in this file. Other parameters use "- The" or similar prefix (e.g., "- The API identifier", "- Optional API identifier"), but this line uses just "the token". Consider changing to "- The token obtained from the external identity provider" for consistency.