createPlayer method

  1. @override
GeneralLibraryPlayerControllerBaseDart createPlayer({
  1. required String player_id,
})
override

Implementation

@override
GeneralLibraryPlayerControllerBaseDart createPlayer({
  required String player_id,
}) {
  GeneralLibraryPlayerControllerBaseDart
      generalLibraryPlayerControllerBaseDart =
      GeneralLibraryPlayerControllerBaseDart(
    player_id: player_id,
  );
  players.add(
    generalLibraryPlayerControllerBaseDart,
  );
  return generalLibraryPlayerControllerBaseDart;
}