configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
      $type.spec!.library, 'List.filled', __$List$filled.call,
      isBridge: false);
  runtime.registerBridgeFunc(
      $type.spec!.library, 'List.empty', __$List$empty.call,
      isBridge: false);
  runtime.registerBridgeFunc(
      $type.spec!.library, 'List.from', __$List$from.call,
      isBridge: false);
  runtime.registerBridgeFunc($type.spec!.library, 'List.of', __$List$of.call,
      isBridge: false);
  runtime.registerBridgeFunc(
      $type.spec!.library, 'List.generate', __$List$generate.call,
      isBridge: false);
  runtime.registerBridgeFunc(
      $type.spec!.library, 'List.unmodifiable', __$List$unmodifiable.call,
      isBridge: false);
  runtime.registerBridgeFunc(
      $type.spec!.library, 'List.castFrom', __$static$method$castFrom.call,
      isBridge: false);
  runtime.registerBridgeFunc(
      $type.spec!.library, 'List.copyRange', __$static$method$copyRange.call,
      isBridge: false);
  runtime.registerBridgeFunc($type.spec!.library, 'List.writeIterable',
      __$static$method$writeIterable.call,
      isBridge: false);
}