KnowledgePanelImageElement class

Image that represents the KnowledgePanel.

Annotations
  • @JsonSerializable()

Constructors

KnowledgePanelImageElement({required String url, int? width, int? height, String? altText, String? linkUrl})
const
KnowledgePanelImageElement.fromJson(Map<String, dynamic> json)
factory

Properties

altText String?
Alt Text of the image.
final
hashCode int
The hash code for this object.
no setterinherited
height int?
Height of the image.
final
linkUrl String?
URL, for clickable image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Url of the image.
final
width int?
Width of the image.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

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