registerHost method

void registerHost(
  1. DVPlatformHost host
)

Registers the environment the application can be hosted in (a package does this once at startup). A host with the same id is replaced.

Implementation

void registerHost(DVPlatformHost host) => DVPlatformHosts.register(host);