toJson method
Implementation
Map<String, dynamic> toJson() {
final virtualNode = this.virtualNode;
final virtualRouter = this.virtualRouter;
return {
if (virtualNode != null) 'virtualNode': virtualNode,
if (virtualRouter != null) 'virtualRouter': virtualRouter,
};
}