OGAttachmentResponse class Null safety

Model response for Client.enrichUrl api call.

Annotations

Constructors

OGAttachmentResponse()

Properties

assetUrl String?
The URL of the asset.
read / write
The URL of the author.
read / write
authorName String?
The name of the author.
read / write
duration String?
read / write, inherited
hashCode int
The hash code for this object.
read-only, inherited
imageUrl String?
The URL of the image.
read / write
ogScrapeUrl String
The URL of the page that was scraped.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String?
The text of the attachment.
read / write
thumbUrl String?
The URL of the thumbnail.
read / write
title String?
The title of the attachment.
read / write
The URL of the title.
read / write
type String?
The type of the attachment.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.