$declaration constant
BridgeClassDef
const $declaration
Compile-time bridged class declaration for $StreamSink
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type,
isAbstract: true, generics: {'S': BridgeGenericParam()}),
constructors: {
'': BridgeConstructorDef(
BridgeFunctionDef(returns: BridgeTypeAnnotation($type)))
},
methods: {
'close': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.future)))),
},
getters: {
'done': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.future)))),
},
setters: {},
fields: {},
wrap: true);