OGMetaData class Null safety

Represents open graph information

Annotations

Constructors

OGMetaData({String? title, String? url, String? descrption, OGImage? defaultImage})
OGMetaData.fromJson(Map<String, dynamic> json)
factory

Properties

defaultImage OGImage?
Open graph image
@JsonKey(name: 'og:image'), final
descrption String?
Open graph description
@JsonKey(name: 'og:description'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String?
Open graph title
@JsonKey(name: 'og:title'), final
url String?
Open graph url
@JsonKey(name: 'og:url'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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