init static method

dynamic init({
  1. Set<Platforms>? supportedPlatforms,
  2. Platforms? override,
  3. Platforms? overrideHost,
})

Implementation

static init({
  Set<Platforms>? supportedPlatforms,
  Platforms? override,
  Platforms? overrideHost,
}) {
  _instance = Platform._(
    supportedPlatforms: supportedPlatforms ?? Platforms.values.toSet(),
    override: override,
    overrideHost: overrideHost,
  );
}