$declaration constant

BridgeClassDef const $declaration

Compile-time bridged class declaration for $StreamSink

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type,
        $extends: BridgeTypeRef(CoreTypes.stream),
        isAbstract: true,
        generics: {'S': BridgeGenericParam()}),
    constructors: {
      '': BridgeConstructorDef(BridgeFunctionDef(params: [
        BridgeParameter('stream',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.stream)), false)
      ], returns: BridgeTypeAnnotation($type)))
    },
    methods: {},
    getters: {},
    wrap: true);