Amplify flutter tutorial issue

0

I am trying to follow the tutorial for Amplify flutter but there appears to be an issue. I'm trying to follow it as closely as possible but I do not see the option for Boolean! onhttps://docs.amplify.aws/start/getting-started/generate-model/q/integration/flutter/#generate-the-models-locally There is only the option for Boolean. I continued on with the tutorial using Boolean. I get an error A value of type 'bool?' can't be assigned to a variable of type 'bool' because 'bool?' is nullable and 'bool' isn't.* which appears to be related. I tried to change the schema.graphql file to relect the correct isComplete: Boolean! instead of isComplete: Boolean... but not success when running flutter run

Not sure what is going on.... Thanks in advance

已提問 2 年前檢視次數 121 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南