getCountries method

Future<List<Country>> getCountries(
  1. CountryType type
)

Get a list of all countries, including names and codes.

type - Possible values: movies , shows

Implementation

Future<List<Country>> getCountries(CountryType type) async {
  return await _manager._getList<Country>("countries/${type.value}");
}