Discovery.fromProto constructor
- Discovery proto
Implementation
factory Discovery.fromProto(rpb.Discovery proto) {
return Discovery(
subtype: proto.query.subtype,
model: proto.query.model,
results: proto.results.toMap(),
);
}
factory Discovery.fromProto(rpb.Discovery proto) {
return Discovery(
subtype: proto.query.subtype,
model: proto.query.model,
results: proto.results.toMap(),
);
}