configureForRuntime static method

void configureForRuntime(
  1. Runtime runtime
)

Configure this class for use in a Runtime

Implementation

static void configureForRuntime(Runtime runtime) {
  runtime.registerBridgeFunc(
    'package:http/src/byte_stream.dart',
    'ByteStream.',
    $ByteStream.$new,
  );

  runtime.registerBridgeFunc(
    'package:http/src/byte_stream.dart',
    'ByteStream.fromBytes',
    $ByteStream.$fromBytes,
  );
}