warn method Null safety

void warn (
  1. PackageWarning kind,
  2. {String message,
  3. Iterable<Locatable> referredFrom,
  4. Iterable<String> extendedDebug}
)
inherited

Implementation

void warn(PackageWarning kind,
    {String message,
    Iterable<Locatable> referredFrom,
    Iterable<String> extendedDebug}) {
  packageGraph.warnOnElement(this, kind,
      message: message,
      referredFrom: referredFrom,
      extendedDebug: extendedDebug);
}