Representação serializável (sem o type, que é injetado por toJson).
type
@override Map<String, Object?> data() => {'text': text, 'level': level};