getTeamIcon method

Future<void> getTeamIcon(
  1. String teamId
)

Get the team icon

Get the team icon of the team. Minimum server version: 4.9 ##### Permissions User must be authenticated. In addition, team must be open or the user must have the view_team permission.

Parameters:

  • String teamId (required): Team GUID

Implementation

Future<void> getTeamIcon(
  String teamId,
) async {
  final response = await getTeamIconWithHttpInfo(
    teamId,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}