$declaration constant
BridgeClassDef
const $declaration
Compile-time bridged class declaration for $StringSink
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type, isAbstract: true),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($type), params: [], namedParams: []))
},
methods: {
'write': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.voidType)),
params: [
BridgeParameter(
'object',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.object),
nullable: true),
false),
],
namedParams: [])),
'writeAll': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.voidType)),
params: [
BridgeParameter(
'objects',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.iterable)),
false),
BridgeParameter(
'separator',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string),
nullable: true),
true),
],
namedParams: [])),
'writeln': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.voidType)),
params: [
BridgeParameter(
'object',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.object),
nullable: true),
true),
],
namedParams: [])),
'writeCharCode': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.voidType)),
params: [
BridgeParameter('charCode',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int)), false),
],
namedParams: [])),
},
getters: {},
setters: {},
fields: {},
wrap: true);