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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ