configureForRuntime static method
Configures the runtime for the Uri class
Implementation
static void configureForRuntime(Runtime runtime) {
runtime.registerBridgeFunc('dart:core', 'Uri.parse', $parse);
runtime.registerBridgeFunc('dart:core', 'Uri.tryParse', $tryParse);
runtime.registerBridgeFunc('dart:core', 'Uri.encodeFull', $encodeFull);
runtime.registerBridgeFunc('dart:core', 'Uri.decodeFull', $decodeFull);
runtime.registerBridgeFunc(
'dart:core', 'Uri.encodeComponent', $encodeComponent);
runtime.registerBridgeFunc(
'dart:core', 'Uri.decodeComponent', $decodeComponent);
runtime.registerBridgeFunc(
'dart:core', 'Uri.decodeQueryComponent', $decodeQueryComponent);
runtime.registerBridgeFunc(
'dart:core', 'Uri.encodeQueryComponent', $encodeQueryComponent);
runtime.registerBridgeFunc(
'dart:core', 'Uri.dataFromBytes', $dataFromBytes);
runtime.registerBridgeFunc(
'dart:core', 'Uri.dataFromString', $dataFromString);
runtime.registerBridgeFunc('dart:core', 'Uri.directory', $directory);
runtime.registerBridgeFunc('dart:core', 'Uri.file', $file);
runtime.registerBridgeFunc('dart:core', 'Uri.http', $http);
runtime.registerBridgeFunc('dart:core', 'Uri.https', $https);
runtime.registerBridgeFunc(
'dart:core', 'Uri.parseIPv4Address', $parseIPv4Address);
runtime.registerBridgeFunc(
'dart:core', 'Uri.parseIPv6Address', $parseIPv6Address);
runtime.registerBridgeFunc(
'dart:core', 'Uri.splitQueryString', $splitQueryString);
}