ModelConfig.fromMap constructor
Implementation
factory ModelConfig.fromMap(Map<String, dynamic> map) {
return ModelConfig(
nCtx: map['nCtx'] as int?,
maxTokens: map['maxTokens'] as int?,
enableThinking: map['enableThinking'] as bool?,
npuLibFolderPath: map['npuLibFolderPath'] as String?,
npuModelFolderPath: map['npuModelFolderPath'] as String?,
);
}