We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don’t understand how I can dynamically return data from the network
class AudioPlayerModelFactory { static List<AudioPlayerModel> getAudioPlayerModels() { return [ AudioPlayerModel( id: "1", isPlaying: false, audio: Audio( "assets/audios/country.mp3", metas: Metas( id: "1", title: "My Country Song", artist: "Joe Doe", album: "Country Album", image: MetasImage.asset("assets/images/country.jpg"), ) ) ), AudioPlayerModel( id: "2", isPlaying: false, audio: Audio( "assets/audios/country_2.mp3", metas: Metas( id: "2", title: "My Other Country Song", artist: "Joe Doe", album: "Country Album", image: MetasImage.asset("assets/images/country.jpg"), ) ) ) ]; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I don’t understand how I can dynamically return data from the network
The text was updated successfully, but these errors were encountered: