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