How do I query for a specific field instead of the whole model using AWS Amplify's Api & DataStore in Flutter?
I'm wondering if there's a similar function to Firebase's document fetching in a collection. Thanks!
Instead of
final user = await Amplify.DataStore.observeQuery(
User.classType,
where: User.USERNAME.eq(username),
);
for example,
how do I only get a stream of profilePic's for User models?