fromValue static method

ParticipantType fromValue(
  1. int value
)

Converts the integer value representation of a ParticipantType into a ParticipantType.

Implementation

static ParticipantType fromValue(int value) => ParticipantType.values[value - 1];