$declaration constant
BridgeClassDef
const $declaration
Compile-time bridge class declaration for $Utf8Decoder
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type,
$extends: BridgeTypeRef(ConvertTypes.converter, [
BridgeTypeRef(CoreTypes.list, [BridgeTypeRef(CoreTypes.int)]),
BridgeTypeRef(CoreTypes.string),
])),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($type),
params: [],
namedParams: [
BridgeParameter('allowMalformed',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.bool)), true)
]))
},
methods: {},
getters: {},
setters: {},
fields: {},
wrap: true);