While coding a dart function in method listIdentites of class Users the queries parameter is type String?. After deployment i get an error: "AppwriteException: general_argument_invalid, Invalid queries param: Queries must be an array (400)". There must be a mismatch between resolving the sdk packages. In pubspec the dependencies are:
dart_appwrite: 10.1.1
TL;DR
Developers are experiencing an error due to a mismatch in the parameter type for a Dart function in the Users class, where queries should be an array but is defined as String?. To resolve, ensure the correct version of the dart_appwrite package is used.