estados property

Iterable<Estado> get estados

Retorna uma lista de estados desta região

Implementation

Iterable<Estado> get estados {
  if (this == nacional) {
    return Estado.pegarEstados;
  }
  if (this == exportacao || this == naoDefinido) {
    return [];
  }

  return Brasil.estados.where((e) => e.regiao == this);
}