$declaration constant

BridgeClassDef const $declaration

Implementation

static const $declaration = BridgeClassDef(
  BridgeClassType(
    $type,
    $extends: null,
    $implements: [],
    isAbstract: false,
  ),
  constructors: {},
  fields: {
    'IPv4': BridgeFieldDef(
        BridgeTypeAnnotation(BridgeTypeRef(IoTypes.internetAddressType, []),
            nullable: false),
        isStatic: true),
    'IPv6': BridgeFieldDef(
        BridgeTypeAnnotation(BridgeTypeRef(IoTypes.internetAddressType, []),
            nullable: false),
        isStatic: true),
    'unix': BridgeFieldDef(
        BridgeTypeAnnotation(BridgeTypeRef(IoTypes.internetAddressType, []),
            nullable: false),
        isStatic: true),
    'any': BridgeFieldDef(
        BridgeTypeAnnotation(BridgeTypeRef(IoTypes.internetAddressType, []),
            nullable: false),
        isStatic: true),
  },
  methods: {
    'toString': BridgeMethodDef(
        BridgeFunctionDef(
          returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string, []),
              nullable: false),
          params: [],
          namedParams: [],
        ),
        isStatic: false),
  },
  getters: {
    'name': BridgeMethodDef(
        BridgeFunctionDef(
          returns: BridgeTypeAnnotation(BridgeTypeRef(CoreTypes.string, []),
              nullable: false),
          params: [],
          namedParams: [],
        ),
        isStatic: false),
  },
  setters: {},
  bridge: false,
  wrap: true,
);