CockpitSnapshotTarget constructor
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,
- 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.
Implementation
CockpitSnapshotTarget({
required this.registrationId,
this.cockpitId,
this.semanticId,
this.keyValue,
this.text,
List<String> textParts = const <String>[],
this.tooltip,
this.typeName,
this.path,
this.scrollablePath,
this.scrollableKeyValue,
this.scrollableTypeName,
required this.routeName,
this.visible = true,
List<CockpitCommandType> supportedCommands = const <CockpitCommandType>[],
this.control,
this.layout,
this.content,
this.style,
List<CockpitSnapshotAncestor> ancestors = const <CockpitSnapshotAncestor>[],
List<CockpitDiagnosticProperty> diagnosticProperties =
const <CockpitDiagnosticProperty>[],
}) : textParts = List.unmodifiable(textParts),
supportedCommands = List.unmodifiable(supportedCommands),
ancestors = List.unmodifiable(ancestors),
diagnosticProperties = List.unmodifiable(diagnosticProperties);