assertStaticInitialized static method Null safety

bool assertStaticInitialized()

Implementation

static bool assertStaticInitialized() {
  // Assert that these values are initialized, by using them in a logical
  // expression.  The expression itself is pretty meaningless.
  assert(kDigits[0] != kI &&
      kParenI != kDot &&
      fShift != gShift &&
      registerISynonyms[kI] == null &&
      gsbLabelSynonyms[kI] == null);
  return true;
}