Add a coach for each team.
The Team class already contains the coach field. It is necessary to change the players.json file, add information on coaches there - the file structure will change and, most likely, change the name to teams.json.
In addition, you will need to change the _fromjson method of the Team class to correctly read the changed information.
Add a coach for each team. The Team class already contains the coach field. It is necessary to change the players.json file, add information on coaches there - the file structure will change and, most likely, change the name to teams.json. In addition, you will need to change the _fromjson method of the Team class to correctly read the changed information.