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