from Message
Converts a Message into an IssueCredential object.
Return
The converted IssueCredential object.
Parameters
from Message
The Message object to convert.
Throws
if the fromMessage doesn't represent the DidcommIssueCredential protocol, or if it doesn't have "from" and "to" fields.