Creates an NmCopilotResult.
const NmCopilotResult({required this.query, this.matchingIds = const [], this.explanation, this.error});