controller/game_controller library

Functions

loadDetail(int id) Future<Game>
get the Game from api with details
loadGame(int page, Ordering? ordering, String? query, String? platforms, String? genres) Future<List<Game>>
get the List<Game> from api
loadScreenshot(int id) Future<List<String>>
get the screenshot for the game
loadTrailer(int id) Future<List<String>>
get the trailers for the game