createTeamPayload

private fun createTeamPayload(title: String, logoPic: File?, description: String, members: List<String>): MultipartBody

Function to create a payload for the team creation/edit actions

Return

the payload as Params

Parameters

title

: title of the team

logoPic

: the logo of the team

description

: description of the team

members

: list of the members in the team