factory PiQueryTypes({ /// The types as a map of type name and percentage of hits. required Map<String, double> types, }) = _PiQueryTypes;