toMap method
Implementation
Map<String, dynamic> toMap() {
return {
if (nCtx != null) 'nCtx': nCtx,
if (maxTokens != null) 'maxTokens': maxTokens,
if (enableThinking != null) 'enableThinking': enableThinking,
if (npuLibFolderPath != null) 'npuLibFolderPath': npuLibFolderPath,
if (npuModelFolderPath != null) 'npuModelFolderPath': npuModelFolderPath,
};
}