dartrofit_adapter_rx 1.0.0

Dart native
Flutter Android iOS

The Rx support for dartrofit

Dartrofit_adapter_rx for dartrofit #

The Rx support for dartrofit

First, depend on it

    dartrofit_adapter_rx: latest version

Then, add it to Dartrofit configuration

final dartrofit = Dartrofit(Uri.parse(''))

Usage #

import 'package:rxdart/rxdart.dart' as rx;

abstract class Api {

  factory Api(Dartrofit dartrofit) = _$Api;

  rx.Subject<Response<Map<String, dynamic>>> getBookNumber();