Genre constructor

Genre({
  1. int? genreId,
  2. required String name,
  3. DateTime? createDate,
  4. DateTime? changeDate,
  5. List<GenreTrack>? genreTracks = const [],
  6. List<GenreSelection>? genreSelections = const [],
  7. List<GenrePlaylist>? genrePlaylists = const [],
})

Returns a new Genre instance.

Implementation

Genre({
  this.genreId,
  required this.name,
  this.createDate,
  this.changeDate,
  this.genreTracks = const [],
  this.genreSelections = const [],
  this.genrePlaylists = const [],
});