hasLegalLinks static method

bool hasLegalLinks()

Returns whether at least one legal link (terms or privacy) is configured.

Implementation

static bool hasLegalLinks() {
  return termsUrl() != null || privacyUrl() != null;
}