delete Team

open fun deleteTeam(team: Team, onDelete: () -> Unit)

Method to delete the team

Parameters

team

The team to delete

onDelete

The action to execute when the team has been deleted