diasUteis property Null safety

List<Dia> diasUteis

Implementation

List<Dia> get diasUteis {
  try {
    return this.dias.sublist(primeiroDiaUtil, ultimoDiaUtil);
  } catch (e) {
    return [];
  }
}