configureFunctionsForRuntime function
void
configureFunctionsForRuntime(
- Runtime runtime
Implementation
void configureFunctionsForRuntime(Runtime runtime) {
runtime.registerBridgeFunc(
'package:http/http.dart',
'head',
const _$head().call,
);
runtime.registerBridgeFunc(
'package:http/http.dart',
'get',
const _$get().call,
);
runtime.registerBridgeFunc(
'package:http/http.dart',
'post',
const _$post().call,
);
runtime.registerBridgeFunc(
'package:http/http.dart',
'put',
const _$put().call,
);
runtime.registerBridgeFunc(
'package:http/http.dart',
'patch',
const _$patch().call,
);
runtime.registerBridgeFunc(
'package:http/http.dart',
'delete',
const _$delete().call,
);
runtime.registerBridgeFunc(
'package:http/http.dart',
'read',
const _$read().call,
);
runtime.registerBridgeFunc(
'package:http/http.dart',
'readBytes',
const _$readBytes().call,
);
}