# getDiscoInfo method

DiscoInfo getDiscoInfo(

1. String? node

)

Returns the DiscoInfo object that would be used as the response to a disco#info query against our bare JID with no node. The results node attribute is set to `node`.

## Implementation

    DiscoInfo getDiscoInfo(String? node) {
      return DiscoInfo(
        _features,
        _identities,
        const [],
        node,
        null,
      );
    }