OGAttachmentResponse class

Model response for Client.enrichUrl api call.

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

OGAttachmentResponse()

Properties

assetUrl String?
The URL of the asset.
getter/setter pair
The URL of the author.
getter/setter pair
authorName String?
The name of the author.
getter/setter pair
duration String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
imageUrl String?
The URL of the image.
getter/setter pair
ogScrapeUrl String
The URL of the page that was scraped.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The text of the attachment.
getter/setter pair
thumbUrl String?
The URL of the thumbnail.
getter/setter pair
title String?
The title of the attachment.
getter/setter pair
The URL of the title.
getter/setter pair
type String?
The type of the attachment.
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

Static Methods

fromJson(Map<String, dynamic> json) OGAttachmentResponse
Create a new instance from a json.