OGImage class

Represents a Open Graph Image of OGMetaData. For Specifications, see https://ogp.me/.

Implemented types
Annotations

Constructors

OGImage({String? url, String? secureUrl, String? type, String? alt, int width = 0, int height = 0})
OGImage.fromJson(Map<String, dynamic> json)
factory

Properties

alt String?
A description of what is in the image (not a caption).
final
hashCode int
The hash code for this object.
read-onlyinherited
height int
The number of pixels high.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
secureUrl String?
An alternate url to use if the webpage requires HTTPS.
final
type String?
A MIME type for this image.
final
url String?
An image URL which represents the object within the Open Graph.
final
width int
The number of pixels wide.
final

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