PixaRuntimeContract.builtInHostModule constructor

const PixaRuntimeContract.builtInHostModule({
  1. required String moduleId,
  2. int abiVersion = 1,
  3. String? packageName,
  4. String? implementationLanguage,
  5. bool hostManagedRuntime = true,
  6. bool binaryMessages = true,
  7. bool ownedBuffers = true,
  8. bool streamHandles = true,
})

Creates a descriptor for a module compiled into Pixa's runtime.

Implementation

const PixaRuntimeContract.builtInHostModule({
  required this.moduleId,
  this.abiVersion = 1,
  this.packageName,
  this.implementationLanguage,
  this.hostManagedRuntime = true,
  this.binaryMessages = true,
  this.ownedBuffers = true,
  this.streamHandles = true,
}) : deployment = PixaRuntimeDeployment.builtInHostModule,
     assetId = null,
     entrypointSymbol = null;