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
It's unfortunate that you currently can't do this:
jsonList.map(MediaItem.fromJson).toList()
which would be much more concise. I could actually change the fromJson constructor to instead be a static method, and then you'd be able to write code like that.
As to whether this question should be added to the FAQ, if I added general programming questions to the FAQ, that would make the document less useful for its intended purpose, and I do not intend to do so.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.
Checklist
Suggested Question
How can i make a MediaItem list from Json file? or do i need always to hard code all the MediaItems?
Thank you in advance.
The text was updated successfully, but these errors were encountered: