Skip to content
Back

appwrite cli types

  • 0
  • Databases
Ateyib
26 Jun, 2025, 03:36

I used the appwrite cli types comand for Dart and it worked well but there was an error regarding enums. As you can see in the image below, it used firstOrNull() instead of firstOrNull for List.

TL;DR
Developers used the appwrite cli types command for Dart successfully, but encountered an error with enums using firstOrNull(). The correct syntax is firstOrNull for List.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more