ArchiveReader<METADATA> class

*[<Null safety>](https://dart.dev/null-safety)*

Wrapper for the ArchiveAccessor service.

Basic use of this class is as follows:

final reader =
    ArchiveReader.forInspect();
final snapshot = reader.snapshot;

TODO(fxbug.dev/71014): Implement lifecycle and log reading.

Properties

diagnosticsConfigurationDiagnosticsConfiguration<METADATA>

read / write

hashCode → int

The hash code for this object. ...
read-only, inherited

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

selectors ↔ List<Selector>?

read / write

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

snapshot({bool acceptSnapshot(List<DiagnosticsData<METADATA>> snapshot)?, Duration attemptDelay = const Duration(milliseconds: 100), int? maxAttempts = 200}) Future<List<DiagnosticsData<METADATA>>>

Obtain a snapshot of the current inspect data as constrained by selector. ...

toString() String

A string representation of this object. ...
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited

Static Methods

forInspect({List<Selector>? selectors}) ArchiveReader<InspectMetadata>

Create an ArchiveReader for reading the data specified by a InspectConfiguration, using the given selectors. ...