tipo property

String get tipo

Obtém o tipo da mensagem

Implementation

String get tipo {
  if (isSucesso) return 'Sucesso';
  if (isErro) return 'Erro';
  if (isAviso) return 'Aviso';
  return 'Informação';
}