CockpitSnapshotTarget class final

Constructors

CockpitSnapshotTarget({required String registrationId, String? cockpitId, String? semanticId, String? keyValue, String? text, List<String> textParts = const <String>[], String? tooltip, String? typeName, String? path, String? scrollablePath, String? scrollableKeyValue, String? scrollableTypeName, required String routeName, bool visible = true, bool coveredByOverlay = false, List<CockpitCommandType> supportedCommands = const <CockpitCommandType>[], CockpitControlState? control, CockpitSnapshotLayout? layout, CockpitSnapshotContent? content, CockpitSnapshotStyle? style, List<CockpitSnapshotAncestor> ancestors = const <CockpitSnapshotAncestor>[], List<CockpitDiagnosticProperty> diagnosticProperties = const <CockpitDiagnosticProperty>[]})
Creates a CockpitSnapshotTarget.
CockpitSnapshotTarget.fromJson(Map<String, Object?> json, {String path = r'$'})
Decodes a CockpitSnapshotTarget from a JSON object.
factory

Properties

ancestors → List<CockpitSnapshotAncestor>
final
cockpitId → String?
final
content → CockpitSnapshotContent?
final
control → CockpitControlState?
final
coveredByOverlay → bool
Whether an inactive modal route (dialog, sheet, menu) covers this target.
final
diagnosticProperties → List<CockpitDiagnosticProperty>
final
displayLabel → String?
no setter
hashCode → int
The hash code for this object.
no setteroverride
keyValue → String?
final
layout → CockpitSnapshotLayout?
final
path → String?
final
registrationId → String
final
routeName → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollableKeyValue → String?
final
scrollablePath → String?
final
scrollableTypeName → String?
final
semanticId → String?
final
style → CockpitSnapshotStyle?
final
supportedCommands → List<CockpitCommandType>
final
text → String?
final
textParts → List<String>
final
tooltip → String?
final
typeName → String?
final
visible → bool
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override