$declaration constant
BridgeClassDef
const $declaration
Implementation
static const $declaration = BridgeClassDef(
BridgeClassType($type, isAbstract: false),
constructors: {
'': BridgeConstructorDef(BridgeFunctionDef(
returns: BridgeTypeAnnotation($type),
namedParams: [
BridgeParameter(
'globalPosition', BridgeTypeAnnotation($Offset.$type), true),
BridgeParameter(
'localPosition', BridgeTypeAnnotation($Offset.$type), true),
BridgeParameter('offsetFromOrigin',
BridgeTypeAnnotation($Offset.$type), true),
BridgeParameter(
'localOffsetFromOrigin',
BridgeTypeAnnotation($Offset.$type),
true,
)
]))
},
wrap: true);