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