factory VirtualNodeStatus.fromJson(Map<String, dynamic> json) { return VirtualNodeStatus( status: (json['status'] as String?)?.toVirtualNodeStatusCode(), ); }