AppstreamImage class Null safety

Metadata about an image.

Constructors

AppstreamImage({required AppstreamImageType type, required String url, int? width, int? height, String? lang})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
height int?
The height of this image in pixels.
final
lang String?
The language this image is intended for.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type AppstreamImageType
Type of image.
final
url String
The URL where this image can be obtained by.
final
width int?
The width of this image in pixels.
final

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