Struct representing a city from CPTEC city search.
Creates a City struct from a map.
@type t() :: %Brasilapi.Cptec.City{ estado: String.t(), id: integer(), nome: String.t() }
@spec from_map(map()) :: t()
iex> Brasilapi.Cptec.City.from_map(%{"nome" => "São Paulo", "estado" => "SP", "id" => 244}) %Brasilapi.Cptec.City{nome: "São Paulo", estado: "SP", id: 244}