DevToolsDeepLinkProperty constructor Null safety

DevToolsDeepLinkProperty(
  1. String description,
  2. String url
)

Creates a diagnostics property that displays a deep link to Flutter DevTools.

The value of this property will return a map of data for the Flutter DevTools deep link, including the full url, the Flutter DevTools screenId, and the objectId in Flutter DevTools that this diagnostic references.

The description and url arguments must not be null.

Implementation

DevToolsDeepLinkProperty(String description, String url)
  : assert(description != null),
    assert(url != null),
    super('', url, description: description, level: DiagnosticLevel.info);