decodeOutput property

TOutput Function(dynamic json)? decodeOutput
final

Function that transforms decoded JSON response data into strongly typed TOutput. Decodes the raw JSON response into TOutput.

Null means "no custom decoding": the raw decoded JSON is cast to TOutput directly. This is nullable rather than defaulted because a const constructor cannot use a generic function tear-off as a default value; the fallback is applied at the call site instead.

Implementation

final TOutput Function(dynamic json)? decodeOutput;