$declaration constant
BridgeClassDef
const $declaration
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType(
_$type,
$extends: BridgeTypeRef(CoreTypes.error, []),
$implements: [],
isAbstract: false,
),
constructors: {
'': BridgeConstructorDef(
BridgeFunctionDef(
returns: BridgeTypeAnnotation(_$type),
params: [
BridgeParameter(
'message',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string, []),
nullable: false),
false)
],
namedParams: [],
),
isFactory: false,
)
},
fields: {
'message': BridgeFieldDef(
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string, []),
nullable: true),
isStatic: false),
},
methods: {},
getters: {},
setters: {},
bridge: false,
wrap: true,
);