$declaration constant

BridgeClassDef const $declaration

Compile-time bridged class declaration for $IOSink

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type, isAbstract: true, $implements: [
      $StringSink.$type,
      BridgeTypeRef(AsyncTypes.streamSink, [
        BridgeTypeRef(CoreTypes.list, [BridgeTypeRef(CoreTypes.int)])
      ])
    ]),
    constructors: {
      '': BridgeConstructorDef(BridgeFunctionDef(
          returns: BridgeTypeAnnotation($type), params: [], namedParams: []))
    },
    methods: {},
    getters: {},
    setters: {},
    fields: {},
    wrap: true);