ChildNodeCountUpdatedEvent.fromJson constructor

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

Implementation

factory ChildNodeCountUpdatedEvent.fromJson(Map<String, dynamic> json) {
  return ChildNodeCountUpdatedEvent(
    nodeId: NodeId.fromJson(json['nodeId'] as int),
    childNodeCount: json['childNodeCount'] as int,
  );
}