inputResponses property

Map<String, Result>? get inputResponses

What the client got for each request in InputRequiredResult.inputRequests, under the keys the server gave them.

These carry no method field the way an InputRequest does, so a server reads each back as the type it asked for under that key, through elicitResult, createMessageResult or listRootsResult. A key it did not ask for is one to ignore.

Implementation

Map<String, Result>? get inputResponses =>
    (_value[Keys.inputResponses] as Map?)?.cast<String, Result>();