patch method

  1. @override
Future<String?> patch(
  1. String url,
  2. Map<String, dynamic> headers,
  3. String body,
  4. DohProvider dohProvider,
)
override

Implementation

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

  return result;
}