post method
Future<String?>
post(
- String url,
- Map<
String, dynamic> headers, - String body,
- DohProvider dohProvider,
override
Implementation
@override
Future<String?> post(String url, Map<String, dynamic> headers, String body,
DohProvider dohProvider) async {
final result = await methodChannel.invokeMethod('makePostRequest', {
'url': url,
'headers': headers,
'body': body,
"dohProvider": dohProvider.toString()
});
return result;
}