requestWillBeSent static method

Future requestWillBeSent(
  1. StethoInspectorRequest request
)

Notifies native side that a network request is about to be sent. Converts StethoInspectorRequest to a map before sending.

Implementation

static Future<dynamic> requestWillBeSent(StethoInspectorRequest request) =>
    _channel.invokeMethod('requestWillBeSent', request.toMap());