url property

String? get 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/diagnostics/${name.toLowerCase()}';
  }
  return null;
}