ShadowRootPoppedEvent.fromJson constructor

ShadowRootPoppedEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ShadowRootPoppedEvent.fromJson(Map<String, dynamic> json) {
  return ShadowRootPoppedEvent(
    hostId: NodeId.fromJson(json['hostId'] as int),
    rootId: NodeId.fromJson(json['rootId'] as int),
  );
}