CockpitSnapshot class
final
Constructors
-
CockpitSnapshot({required String? routeName, List<CockpitSnapshotTarget> visibleTargets = const <CockpitSnapshotTarget>[], CockpitSnapshotProfile diagnosticLevel = CockpitSnapshotProfile.live, bool truncated = false, CockpitArtifactRef? diagnosticsArtifactRef, CockpitArtifactRef? treeArtifactRef, CockpitSnapshotSummary? summary, CockpitNetworkSnapshot? network, CockpitRuntimeSnapshot? runtime, CockpitRebuildSnapshot? rebuild, CockpitAccessibilitySummary? accessibility, CockpitFocusSnapshot? focus, CockpitWidgetTree? tree})
-
Creates a CockpitSnapshot.
-
CockpitSnapshot.fromJson(Map<String, Object?> json)
-
Decodes a CockpitSnapshot from a JSON object.
factory
Methods
-
copyWith({String? routeName, List<CockpitSnapshotTarget>? visibleTargets, CockpitSnapshotProfile? diagnosticLevel, bool? truncated, CockpitArtifactRef? diagnosticsArtifactRef, CockpitArtifactRef? treeArtifactRef, CockpitSnapshotSummary? summary, CockpitNetworkSnapshot? network, CockpitRuntimeSnapshot? runtime, CockpitRebuildSnapshot? rebuild, CockpitAccessibilitySummary? accessibility, CockpitFocusSnapshot? focus, CockpitWidgetTree? tree})
→ CockpitSnapshot
-
Returns a copy of this CockpitSnapshot with supplied fields replaced.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, Object?>
-
Encodes this CockpitSnapshot as a JSON object.
-
toString()
→ String
-
A string representation of this object.
inherited