smart_http 0.0.2 smart_http: ^0.0.2 copied to clipboard
A dart wrapper around dio to handle http requests along with cancelable api for bloc and repository.
import 'package:smart_http/smart_http.dart';
void main() async {
final http = SmartHttp();
final result = await http.get(
baseUrl: 'https://pub.dev',
path: '/packages/smart_http',
);
print(result);
}