$declaration constant
BridgeClassDef
const $declaration
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType(BridgeTypeRef(CoreTypes.int),
$extends: BridgeTypeRef(CoreTypes.num), isAbstract: true),
constructors: {},
methods: {
'parse': BridgeMethodDef(
BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int)),
params: [
BridgeParameter(
'source',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)),
false),
],
namedParams: [
BridgeParameter('radix',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int)), true),
]),
isStatic: true),
'tryParse': BridgeMethodDef(
BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int),
nullable: true),
params: [
BridgeParameter(
'source',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)),
false),
],
namedParams: [
BridgeParameter('radix',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int)), true),
]),
isStatic: true),
'toRadixString': BridgeMethodDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string)),
params: [
BridgeParameter('radix',
BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int)), false),
],
namedParams: [])),
},
getters: {},
setters: {},
fields: {},
wrap: true);