configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'Iterable.generate',
    __$Iterable$generate.call,
    isBridge: false,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'Iterable.empty',
    __$Iterable$empty.call,
    isBridge: false,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'Iterable.castFrom',
    __$static$method$castFrom.call,
    isBridge: false,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'Iterable.iterableToShortString',
    __$static$method$iterableToShortString.call,
    isBridge: false,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'Iterable.iterableToFullString',
    __$static$method$iterableToFullString.call,
    isBridge: false,
  );
}