callNativeInspectorMethod method

void callNativeInspectorMethod(
  1. int? id,
  2. String method,
  3. Map<String, dynamic>? params
)

Implementation

void callNativeInspectorMethod(int? id, String method, Map<String, dynamic>? params) {
  assert(server.nativeInspectorMessageHandler != null);
  server.nativeInspectorMessageHandler!(jsonEncode({'id': id, 'method': name + '.' + method, 'params': params}));
}