FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Is the Dart client still working?

    Scheduled Pinned Locked Moved Solved
    Q&A
    1
    2
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lluvia
      last edited by

      Hello,

      I was trying to integrate the Dart client library into my Flutter app, but encountered this error right after adding the library and attempting to build without any errors in the code:

      /opt/flutter/.pub-cache/hosted/pub.dartlang.org/fusionauth_dart_client-1.36.0/lib/src/FusionAuthDomain.dart:7396:3: Error: Type 'char' not found.
        char separator;
        ^^^^
      /opt/flutter/.pub-cache/hosted/pub.dartlang.org/fusionauth_dart_client-1.36.0/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,
                  ^^^^^^^^^^^^
      

      There are many more errors like this. In addition, the static analysis on the pub site (https://pub.dev/packages/fusionauth_dart_client/score) shows errors. Is there something else I need to do in order to set up the client to work?

      Thanks.

      1 Reply Last reply Reply Quote 1
      • L
        lluvia
        last edited by

        Update: Never mind apparently, cleaning the project seems to have did the trick and I am able to use the client without issues. I will post back if I encounter other issues. Thank you!

        1 Reply Last reply Reply Quote 0
        • L lluvia has marked this topic as solved on
        • First post
          Last post