aloisdeniel / aloisdeniel/media_gallery

[REQUEST] Create the constructor Media.fromId(id)

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
86
Forks
32
PR merge metrics
No merged PRs in 30d

Description

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` where the key is the ID or a constructor method called `Media.fromId(id)` that basically builds the Media from the id?

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.