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