MediaImage class

The Media Session API's dictionary describes the images associated with a media resource's MediaMetadata. Its contents can be displayed by the user agent in appropriate contexts like in a player interface to show the current playing video or audio track.

Available extensions
Annotations
  • @anonymous
  • @JS()
  • @staticInterop

Constructors

MediaImage({required String src, String? sizes, String? type})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizes String

Available on MediaImage, provided by the PropsMediaImage extension

getter/setter pair
src String

Available on MediaImage, provided by the PropsMediaImage extension

getter/setter pair
type String

Available on MediaImage, provided by the PropsMediaImage extension

getter/setter pair

Methods

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