Map<String, dynamic> toMap() { return GameDialogComponentValueMapper.ensureInitialized() .encodeMap<GameDialogComponentValue>(this as GameDialogComponentValue); }