configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.',
    __$InternetAddress$new.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.fromRawAddress',
    __$InternetAddress$fromRawAddress.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.loopbackIPv4*g',
    __$static$getter$loopbackIPv4.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.loopbackIPv6*g',
    __$static$getter$loopbackIPv6.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.anyIPv4*g',
    __$static$getter$anyIPv4.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.anyIPv6*g',
    __$static$getter$anyIPv6.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.lookup',
    __$static$method$lookup.call,
  );
  runtime.registerBridgeFunc(
    $type.spec!.library,
    'InternetAddress.tryParse',
    __$static$method$tryParse.call,
  );
}