utils/http library

Constants

header_key → const String

Properties

headers Map<String, String>
getter/setter pair

Functions

dealResponse({required Response response, required dynamic f(Response response), dynamic url}) → dynamic
doGet(String url, dynamic f(Response response)) → dynamic
doPost(String url, String body, dynamic f(Response response)) → dynamic
myClient(dynamic url) → Client