toSongModel method Null safety

List<SongModel> toSongModel()

Used to convert a List dynamic into a List SongModel.

Implementation

List<SongModel> toSongModel() => map((e) => SongModel(e)).toList();