additionalResponses property

  1. @override
List<AdditionalExpectedResponse>? get additionalResponses
override

This optional term can be used if additional expected responses are possible, e.g. for error reporting.

Each additional response needs to be distinguished from others in some way (for example, by specifying a protocol-specific error code), and may also have its own data schema.

Implementation

@override
List<AdditionalExpectedResponse>? get additionalResponses =>
    _form.additionalResponses;