Skip to content

Commit 7609e79

Browse files
Merge pull request #114 from RatakondalaArun/fix/analyze
fix(lints): analyze issues
2 parents 02754db + 816fb40 commit 7609e79

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

lib/versions/v3/category/discover.dart

-8
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,6 @@ class Discover extends Category<V3> {
380380
return 'vote_count.asc';
381381
case SortMoviesBy.voteCountDesc:
382382
return 'vote_count.desc';
383-
default:
384-
return 'popularity.asc';
385383
}
386384
}
387385

@@ -399,8 +397,6 @@ class Discover extends Category<V3> {
399397
return 'first_air_date.asc';
400398
case SortTvShowsBy.firstAirDateDesc:
401399
return 'first_air_date.desc';
402-
default:
403-
return 'popularity.asc';
404400
}
405401
}
406402

@@ -418,8 +414,6 @@ class Discover extends Category<V3> {
418414
return '4';
419415
case FilterTvShowsByStatus.pilot:
420416
return '5';
421-
default:
422-
return '0';
423417
}
424418
}
425419

@@ -439,8 +433,6 @@ class Discover extends Category<V3> {
439433
return '5';
440434
case FilterTvShowsByType.video:
441435
return '6';
442-
default:
443-
return '0';
444436
}
445437
}
446438
}

lib/versions/v3/category/find.dart

-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class Find extends Category<V3> {
5050
return 'external_source=twitter_id';
5151
case ExternalId.instagramId:
5252
return 'external_source=instagram_id';
53-
default:
54-
return 'external_source=imdb_id';
5553
}
5654
}
5755
}

lib/versions/v3/category/trending.dart

-4
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ class Trending extends Category<V3> {
5050
return 'tv';
5151
case MediaType.person:
5252
return 'person';
53-
default:
54-
return 'all';
5553
}
5654
}
5755

@@ -62,8 +60,6 @@ class Trending extends Category<V3> {
6260
return 'day';
6361
case TimeWindow.week:
6462
return 'week';
65-
default:
66-
return 'week';
6763
}
6864
}
6965
}

lib/versions/v4/category/lists.dart

-2
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,6 @@ class ListsV4 extends Category<V4> {
510510
return 'vote_average.asc';
511511
case SortListBy.voteAverageDesc:
512512
return 'vote_average.desc';
513-
default:
514-
return 'original_order.asc';
515513
}
516514
}
517515

0 commit comments

Comments
 (0)