hasSource method

bool hasSource(
  1. String providerId
)

True when providerId has any quota surface at all — an adapter or a static unmetered marking. Badge render paths gate on this so adapter-less providers never show a stuck [XX …] badge.

Implementation

bool hasSource(String providerId) =>
    _unmetered.contains(providerId) || _adapters.containsKey(providerId);