$declaration constant

BridgeClassDef const $declaration

dart_eval class declaration for Curve

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType($type,
        $extends: $ParametricCurve.$type, isAbstract: true),
    constructors: {},
    methods: {
      'transform': BridgeMethodDef(BridgeFunctionDef(
          returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)),
          params: [
            BridgeParameter('t',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), false)
          ]))
    },
    wrap: true);