params property

  1. @override
JSONEncodable? get params
override

Implementation

@override
JSONEncodable? get params => JSONEncodableMap({
      'parentNodeId': parent.ownerView.forDevtoolsNodeId(parent),
      // Chrome DevTools expects a numeric NodeId here. For insert-as-first-child,
      // use 0 instead of null to ensure the event is applied.
      'previousNodeId': previousSibling != null
          ? parent.ownerView.forDevtoolsNodeId(previousSibling!)
          : 0,
      'node': InspectorNode(node).toJson(),
    });