0

I don't know why the variables are not valid numbers. I use flutter with graphql_flutter plugin.

Somehow I get this error message: enter image description here

The query:

enter image description here

The generated API classes:

enter image description here

enter image description here

The "service" function:

enter image description here

Function in repo:

enter image description here

The function call:

enter image description here

B0r1
  • 400
  • 3
  • 15
  • I belive what has happend is that your Graph QL API is returning a "_lt" as a string instead of a float as defined in the code. This might be happening where you are parsing the json to Dart code. – Sushan Shakya Jan 21 '22 at 09:31
  • But it works with integer numbers. – B0r1 Jan 21 '22 at 09:59

0 Answers0