$declaration constant

BridgeClassDef const $declaration

Compile-time class definition for $FormatException

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType(BridgeTypeRef(CoreTypes.formatException),
        $implements: [BridgeTypeRef(CoreTypes.exception)]),
    constructors: {
      '': BridgeConstructorDef(BridgeFunctionDef(
          returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.exception)),
          params: [
            BridgeParameter('message',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.object)), true),
            BridgeParameter('source',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.dynamic)), true),
            BridgeParameter(
                'offset',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.int),
                    nullable: true),
                true),
          ]))
    },
    wrap: true);