toJoinMethod function
Implementation
JoinMethod toJoinMethod(int? value) {
switch (value) {
case 0:
return JoinMethod.joinForFree;
case 1:
return JoinMethod.joinWithManualPayment;
case 2:
return JoinMethod.joinByCard;
}
return JoinMethod.joinForFree;
}