Initial commit
This commit is contained in:
25
lib/src/data/search_result.dart
Normal file
25
lib/src/data/search_result.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
class AnimeSearchResult {
|
||||
const AnimeSearchResult(
|
||||
this.title,
|
||||
this.id,
|
||||
this.episodesTotal,
|
||||
this.thumbnailUrl,
|
||||
this.description,
|
||||
);
|
||||
|
||||
/// The title of the anime.
|
||||
final String title;
|
||||
|
||||
/// The id of the anime.
|
||||
final String id;
|
||||
|
||||
/// The URL to a thumbnail image.
|
||||
final String thumbnailUrl;
|
||||
|
||||
/// The amount of total episodes. If null, it means that there is not total amount
|
||||
/// of episodes set.
|
||||
final int? episodesTotal;
|
||||
|
||||
/// The description of the anime
|
||||
final String description;
|
||||
}
|
||||
Reference in New Issue
Block a user