setName

abstract suspend fun setName(newName: String): Team

Sets a new name for the team.

Return

the updated Team instance

Parameters

newName

the new name to set (1..16 characters)

Throws

if newName length is out of acceptable range