$declaration constant
BridgeClassDef
const $declaration
Compile-time bridge class declaration for $Encoding
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type,
isAbstract: true,
$extends: BridgeTypeRef(ConvertTypes.codec, [
BridgeTypeRef(CoreTypes.string),
BridgeTypeRef(CoreTypes.list, [BridgeTypeRef(CoreTypes.int)]),
])),
constructors: {},
methods: {},
getters: {
'name': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)),
params: [])),
},
wrap: true);