$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(
                'velocity', BridgeTypeAnnotation($Velocity.$type), true),
          ]))
    },
    wrap: true);