Snapshot class

Annotations

Constructors

Snapshot({required int protocolVersion, required int timestamp, required DevToolsSettings settings, required List<Sample> samples, required List<BatchSample> batches, required List<TimelineEvent> timeline})
const
Snapshot.fromJson(Map<String, dynamic> json)
factory

Properties

batches List<BatchSample>
final
hashCode int
The hash code for this object.
no setterinherited
protocolVersion int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samples List<Sample>
final
settings DevToolsSettings
final
timeline List<TimelineEvent>
final
timestamp int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

empty() Snapshot
tryParse(String? payload) Snapshot?