$declaration constant

BridgeClassDef const $declaration

Compile-time bridged class declaration for $HttpClientRequest

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type, isAbstract: true, $implements: [$IOSink.$type]),
    constructors: {},
    methods: {
      'close': BridgeMethodDef(BridgeFunctionDef(
        returns: BridgeTypeAnnotation(
            BridgeTypeRef(CoreTypes.future, [$HttpClientResponse.$type])),
      )),
    },
    getters: {},
    setters: {},
    fields: {},
    wrap: true);