AppstreamScreenshot class Null safety

Metadata for a screenshot of a component.

Constructors

AppstreamScreenshot({List<AppstreamImage> images = const [], Map<String, String> caption = const {}, bool isDefault = false})
const

Properties

caption Map<String, String>
A caption for this screenshot, keyed by language.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
images List<AppstreamImage>
Images available for this screenshot.
final
isDefault bool
True if this is the default screenshot for this component.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override