createDomainCancelable method

CancelableOperation<Domain> createDomainCancelable(
  1. {required DomainDescription domainDescription}
)

Cancelable version of createDomain. See that method for more information.

Implementation

CancelableOperation<Domain> createDomainCancelable(
    {required DomainDescription domainDescription}) {
  return _createDomainCancelable(domainDescription: domainDescription)
      .then((domain) {
    _domains.invalidateCache();
    return domain;
  });
}