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/response.dart',
    'Response.',
    $Response.$new,
  );

  runtime.registerBridgeFunc(
    'package:http/src/response.dart',
    'Response.bytes',
    $Response.$bytes,
  );

  runtime.registerBridgeFunc(
    'package:http/src/response.dart',
    'Response.fromStream',
    $Response.$fromStream,
  );
}