url property

String url

Return a URL that can be used to access documentation for diagnostics with this code, or null if there is no published documentation.

Implementation

String get url {
  if (hasPublishedDocs) {
    return 'https://dart.dev/tools/diagnostic-messages#${name.toLowerCase()}';
  }
  return null;
}