I'm trying to return back a specific set of fields for the File resource from the Google Drive API, v3, for Dart. As specified, the regular list() call returns back just 4 params, but if I pass in the query param for fields (e.g. fields='starred,webContentLink'), I can return back other information about the File. Likewise, passing in fields='*' returns back the entire File resource. This works fine in the 'Try this API' section of the documentation.
Right now, with the Dart package, setting $fields: '*' works, but setting $fields: 'starred' results in this error: DetailedApiRequestError(status: 400, message: Invalid field selection starred).
// Assume I have successfully created an API client
g_drive.DriveApi api = new g_drive.DriveApi(client);
// This works
g_drive.FileList fileList = await api.files.list($fields: '*');
// This returns the 400 error
g_drive.FileList fileList = await api.files.list($fields: 'starred');
I went into the actual v3 code and manually changed _queryParams["fields"] to starred, but that didn't work either (* works). I even tried 'starred' with the extra quotes just in case, but that resulted in the same error (DetailedApiRequestError(status: 400, message: Invalid field selection 'starred'))
Is there something obvious I'm missing?