fromValue static method

Implementation

static ParticipantRoleDialogflowV2beta1 fromValue(String value) {
  for (final item in ParticipantRoleDialogflowV2beta1.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown ParticipantRoleDialogflowV2beta1 value: $value');
}