AlbumsState.success constructor Null safety

const AlbumsState.success(
  1. List<Album> albums
)

Creates loading succeeded cubit state for albums.

Implementation

const factory AlbumsState.success(List<Album> albums) = _AlbumsSuccessState;