decode static method
Implementation
static ModelParamsPigeon decode(Object result) {
result as List<Object?>;
return ModelParamsPigeon(
nCtx: result[0] as int?,
nBatchSize: result[1] as int?,
nThreads: result[2] as int?,
nGpuLayers: result[3] as int?,
);
}