AmpUrl class

AMP URL response for a requested URL.

Constructors

AmpUrl({String? ampUrl, String? cdnAmpUrl, String? originalUrl})
AmpUrl.fromJson(Map json_)

Properties

ampUrl String?
The AMP URL pointing to the publisher's web server.
getter/setter pair
cdnAmpUrl String?
The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to the cached document in the Google AMP Cache.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
originalUrl String?
The original non-AMP URL.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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