returnsName property

String? get returnsName

returns's name, which is what crosses the wire.

A Type can be neither serialised nor reconstructed, so an action decoded from JSON has neither this nor returns. Nothing needs one yet — every reader of this is looking at a live action from a live report — and a field for the day something does is a field nothing checks.

Implementation

String? get returnsName => returns?.toString();