configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'StackTrace.fromString',
    __$StackTrace$fromString.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'StackTrace.empty*g',
    __$static$empty.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'StackTrace.current*g',
    __$static$getter$current.call,
  );
}