GetDiagnosticsTree constructor Null safety

GetDiagnosticsTree(
  1. SerializableFinder finder,
  2. DiagnosticsType diagnosticsType,
  3. {int subtreeDepth = 0,
  4. bool includeProperties = true,
  5. Duration? timeout}
)

Creates a GetDiagnosticsTree Flutter Driver command.

Implementation

GetDiagnosticsTree(super.finder, this.diagnosticsType, {
  this.subtreeDepth = 0,
  this.includeProperties = true,
  super.timeout,
}) : assert(subtreeDepth != null),
     assert(includeProperties != null);