JsonDecodeCallback typedef Null safety

JsonDecodeCallback = dynamic Function(String)

The default Transformer for Dio. If you want to custom the transformation of request/response data, you can provide a Transformer by your self, and replace the DefaultTransformer by setting the dio.Transformer.

Implementation

typedef JsonDecodeCallback = dynamic Function(String);