AmpUrl.fromJson constructor
AmpUrl.fromJson(
- Map json_
Implementation
AmpUrl.fromJson(core.Map json_)
: this(
ampUrl: json_.containsKey('ampUrl')
? json_['ampUrl'] as core.String
: null,
cdnAmpUrl: json_.containsKey('cdnAmpUrl')
? json_['cdnAmpUrl'] as core.String
: null,
originalUrl: json_.containsKey('originalUrl')
? json_['originalUrl'] as core.String
: null,
);