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