Open basnetjiten opened 1 year ago
@basnetjiten did you ever find a solution to this?
retrofit.dart depends on json_serializable to handle the serialization
Please refer https://github.com/google/json_serializable.dart/blob/master/example/lib/json_converter_example.dart
it would be helpful
is it possible to use Response type using a dartz package to return response type of following:
GET("/tasks") Future<Either<Left,Task>> getTasks(@Header("Content-Type") String contentType );
If there is anything documented on how to use it, would be very helpful. Thanks 🙏