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