findProtocolTypeByValue

Finds the ProtocolType based on the given string value.

Return

The matched ProtocolType.

Parameters

string

The string value to match with the ProtocolType's value.

Throws

If the type of the invitation is not supported.