$declaration constant
BridgeClassDef
const $declaration
Compile-time class definition for $Exception
Implementation
static const $declaration =
BridgeClassDef(BridgeClassType(BridgeTypeRef(CoreTypes.exception)),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns:
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.exception)),
params: [
BridgeParameter(
'message',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.object),
nullable: true),
true)
]))
},
wrap: true);