configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
      _$type.spec!.library, 'Error.', __$Error$new.call);
  runtime.registerBridgeFunc(_$type.spec!.library, 'Error.safeToString',
      __$static$method$safeToString.call);
  runtime.registerBridgeFunc(_$type.spec!.library,
      'Error.throwWithStackTrace', __$static$method$throwWithStackTrace.call);
}