isSupported method

  1. @override
Future<bool> isSupported()
override

Returns true if the XEP is supported on the server. If not, returns false

Implementation

@override
Future<bool> isSupported() async {
  return getAttributes()
      .getNegotiatorById<StreamManagementNegotiator>(
        streamManagementNegotiator,
      )!
      .isSupported;
}