pesquisar static method

Future<Iterable<Cidade>> pesquisar(
  1. String nomeCidadeOuIBGE, [
  2. String nomeOuUFOuIBGE = ""
])

Pesquisa uma cidade no Brasil todo ou em algum estado especifico se nomeOuUFOuIBGE for especificado.

ParĂ¢metros:

  • nomeCidadeOuIBGE: O nome da cidade, UF ou IBGE.
  • nomeOuUFOuIBGE: O nome da cidade, UF ou IBGE (opcional).

Implementation

static Future<Iterable<Cidade>> pesquisar(String nomeCidadeOuIBGE, [String nomeOuUFOuIBGE = ""]) async => await Brasil.pesquisarCidade(nomeCidadeOuIBGE, nomeOuUFOuIBGE);