This repository was archived by the owner on Jun 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
This repository was archived by the owner on Jun 9, 2024. It is now read-only.
Error: type 'char' not found #13
Copy link
Copy link
Open
Description
I cannot compile app with fusionauth-dart-client. It throws a lot of errors in terminal output.
I tested version 1.36.0 from pub.dev and also directly from tag 1.36.8
fusionauth_dart_client:
git:
url: https://github.com/FusionAuth/fusionauth-dart-client
ref: 1.36.8I'm using flutter 3.0.5, dart 2.17
Here are a couple of them:
../../.pub-cache/git/fusionauth-dart-client-090ca757b8e8b8dcbf00669f1817511e0906caef/lib/src/FusionAuthDomain.dart:7396:3: Error: Type 'char' not found.
char separator;
^^^^
../../.pub-cache/git/fusionauth-dart-client-090ca757b8e8b8dcbf00669f1817511e0906caef/lib/src/FusionAuthDomain.dart:35:13: Error: The parameter 'access_token' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.
{this.access_token,
^^^^^^^^^^^^
../../.pub-cache/git/fusionauth-dart-client-090ca757b8e8b8dcbf00669f1817511e0906caef/lib/src/FusionAuthDomain.dart:36:12: Error: The parameter 'expires_in' can't have a value of 'null' because of its type 'num', but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.
this.expires_in,
^^^^^^^^^^
../../.pub-cache/git/fusionauth-dart-client-090ca757b8e8b8dcbf00669f1817511e0906caef/lib/src/FusionAuthDomain.dart:37:12: Error: The parameter 'id_token' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'.
Try adding either an explicit non-'null' default value or the 'required' modifier.
this.id_token,
^^^^^^^^
Metadata
Metadata
Assignees
Labels
No labels