setCustomHeaders method
Sets custom HTTP headers forwarded to the native HTTP layer for all network requests.
Implementation
@override
Future<void> setCustomHeaders(Map<String, String> headers) async {
await methodChannel.invokeMethod<void>('setCustomHeaders', {'httpHeaders': headers});
}