$declaration constant

BridgeClassDef const $declaration

dart_eval class declaration for Radius

Implementation

static const $declaration = BridgeClassDef(BridgeClassType($type),
    constructors: {
      'circular': BridgeConstructorDef(
          BridgeFunctionDef(returns: BridgeTypeAnnotation($type), params: [
        BridgeParameter('radius',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), false)
      ])),
      'elliptical': BridgeConstructorDef(
          BridgeFunctionDef(returns: BridgeTypeAnnotation($type), params: [
        BridgeParameter('x',
            BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), false),
        BridgeParameter(
            'y', BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.double)), false)
      ]))
    },
    wrap: true);