PacketLobbyInfoData constructor Null safety

const PacketLobbyInfoData(
  1. {required PacketHeader m_header,
  2. required int m_numPlayers,
  3. required List<LobbyInfoData> m_lobbyPlayers}
)

Implementation

const PacketLobbyInfoData(
    {required this.m_header,
    required this.m_numPlayers,
    required this.m_lobbyPlayers});