$declaration constant

BridgeClassDef const $declaration

Compile-time class definition for $AssertionError

Implementation

static const $declaration = BridgeClassDef(
    BridgeClassType(BridgeTypeRef(CoreTypes.assertionError)),
    constructors: {
      '': BridgeConstructorDef(BridgeFunctionDef(
          returns:
              BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.assertionError)),
          params: [
            BridgeParameter(
                'message',
                BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.object),
                    nullable: true),
                true)
          ]))
    },
    methods: {},
    getters: {
      'message': BridgeMethodDef(
          BridgeFunctionDef(
              params: [],
              returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.object),
                  nullable: true)),
          isStatic: false),
    },
    setters: {},
    fields: {},
    wrap: true);