AmpUrl class Null safety

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.
read / write
cdnAmpUrl String?
The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to the cached document in the Google AMP Cache.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
originalUrl String?
The original non-AMP URL.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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