UseCaseMetadata class

The metadata of a use case.

You can get the metadata inside the widgets of a use case by using UseCase.metaDataOf. Additionally the metadata gen be obtained using UseCaseComposition.metadata of a UseCaseComposition or by computing the metadata of a UseCaseDescriptor, using UseCaseDescriptor.computeMetadata.

Available extensions
Annotations

Constructors

UseCaseMetadata.fromMap(Map<Type, UseCaseMetadataEntry<UseCaseMetadataEntry>> metadata)
Creates a UseCaseMetadata object from a map of UseCaseMetadataEntry objects.

Properties

backgroundOption → DefaultBackgroundOption?

Available on UseCaseMetadata, provided by the BackgroundMetadataExtension extension

no setter
definedKnobPresets → List<DefinedKnobPreset>

Available on UseCaseMetadata, provided by the KnobPresetsMetadataExtension extension

Returns all defined knob presets for this use case.
no setter
descriptions → Descriptions

Available on UseCaseMetadata, provided by the DescriptionMetadataExtension extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
initialViewConstraints → ViewConstraints

Available on UseCaseMetadata, provided by the ViewConstraintsMetadataExtension extension

no setter
knobPresets → List<KnobPreset>

Available on UseCaseMetadata, provided by the KnobPresetsMetadataExtension extension

Returns all knob presets for this use case, starting with the InitialKnobPreset.
no setter
overviewSettings → OverviewSettings

Available on UseCaseMetadata, provided by the OverviewSettingsMetadataExtension extension

no setter
overviewViewConstraints → ViewConstraints

Available on UseCaseMetadata, provided by the ViewConstraintsMetadataExtension extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchClusters → List<SearchCluster>

Available on UseCaseMetadata, provided by the SearchMetadataExtension extension

no setter
supportedSizes → BoxConstraints

Available on UseCaseMetadata, provided by the SupportedSizesMetadataExtension extension

no setter
tags → Set<String>

Available on UseCaseMetadata, provided by the TagsMetadataExtension extension

no setter
urls → List<String>

Available on UseCaseMetadata, provided by the UrlsMetadataExtension extension

no setter
viewConstraintsPresets → List<ViewConstraintsPreset>

Available on UseCaseMetadata, provided by the ViewConstraintsMetadataExtension extension

no setter

Methods

get<T extends UseCaseMetadataEntry<T>>() → T?
Gets the UseCaseMetadataEntry that has the given generic type T as its UseCaseMetadataEntry.type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

empty → const UseCaseMetadata
Creates an empty UseCaseMetadata object.