nome property

String get nome

O nome no cartão: o apelido, ou "Aluno" quando não há.

Implementation

String get nome {
  final texto = apelido?.trim() ?? '';
  return texto.isEmpty ? 'Aluno' : texto;
}