isPrivate method

bool isPrivate(
  1. String? id
)

Implementation

bool isPrivate(String? id) {
  if (id == null) return true;
  for (final prefix in privatePrefixes) {
    if (id.startsWith(prefix) && !id.startsWith(internalPrefix)) {
      return true;
    }
  }

  return false;
}