$declaration constant

BridgeClassDef const $declaration

Implementation

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