You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for this library. It works well.
I'd like to put media's IDs into my db and show the pictures using queries.
Now the only way is to load the whole list and then get the value with a .where() function.
Can you either give us a Map<int,Media> where the key is the ID or a constructor method called Media.fromId(id) that basically builds the Media from the id?
Thanks
The text was updated successfully, but these errors were encountered:
A workaround I found is to create the Media using the .fromJson() function and passing an ID and type to that.
It works but it would be better a dedicated method.
Hi, thanks for this library. It works well.
I'd like to put media's IDs into my db and show the pictures using queries.
Now the only way is to load the whole list and then get the value with a
.where()
function.Can you either give us a
Map<int,Media>
where the key is the ID or a constructor method calledMedia.fromId(id)
that basically builds the Media from the id?Thanks
The text was updated successfully, but these errors were encountered: