- Hamilton, NZ
Pinned Loading
-
How to use Dio's Transformer to dese...
How to use Dio's Transformer to deserialize an API response (from JSON-as-String) to your custom Dart object 1import 'package:dio/dio.dart';
23/// Base Transformer that (optionally checks error-status and) deserializes to JSON
4/// (i.e. to Map<String, dynamic>)
5abstract class MyBaseTransformer extends BackgroundTransformer {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.