OpenGraph class

Convenience subclass for OpenGraphMetadata.

Inheritance

Constructors

OpenGraph({String? title, String? description, String? url, String? image, String type = OpenGraphType.website, String? siteName, String? locale, String? imageAlt, int? imageWidth, int? imageHeight, String? imageType, List<String> alternateLocales = const [], String? video, String? audio, String? determiner})
const

Properties

alternateLocales → List<String>
finalinherited
audio → String?
finalinherited
description → String?
finalinherited
determiner → String?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
image → String?
finalinherited
imageAlt → String?
finalinherited
imageHeight → int?
finalinherited
imageType → String?
finalinherited
imageWidth → int?
finalinherited
locale → String?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
siteName → String?
finalinherited
title → String?
finalinherited
type → String
finalinherited
url → String?
finalinherited
video → String?
finalinherited

Methods

copyWith({String? title, String? description, String? url, String? image, String? type, String? siteName, String? locale, String? imageAlt, int? imageWidth, int? imageHeight, String? imageType, List<String>? alternateLocales, String? video, String? audio, String? determiner}) → OpenGraphMetadata
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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