toAlbumModel method

List<AlbumModel> toAlbumModel()

Used to convert a List dynamic into a List AlbumModel.

Implementation

List<AlbumModel> toAlbumModel() => map((e) => AlbumModel(e)).toList();