isValid property

bool get isValid

Valida se todos os campos estão corretos

Implementation

bool get isValid {
  if (!temParametro) {
    return false;
  }
  if (!isParametroUnico) {
    return false;
  }
  if (!isAnoCalendarioValido) {
    return false;
  }
  if (!isPeriodoApuracaoValido) {
    return false;
  }
  return true;
}