$declaration constant

BridgeClassDef const $declaration

dart_eval class declaration for Offset

Implementation

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