encodeOutput property
dynamic Function(TOutput output)?
encodeOutput
final
Optional function that transforms typed TOutput into a JSON-encodable payload on the server side.
Implementation
final dynamic Function(TOutput output)? encodeOutput;