CreateManagedShortLinkResponse.fromJson constructor
CreateManagedShortLinkResponse.fromJson(
- Map _json
Implementation
CreateManagedShortLinkResponse.fromJson(core.Map _json)
: this(
managedShortLink: _json.containsKey('managedShortLink')
? ManagedShortLink.fromJson(_json['managedShortLink']
as core.Map<core.String, core.dynamic>)
: null,
previewLink: _json.containsKey('previewLink')
? _json['previewLink'] as core.String
: null,
warning: _json.containsKey('warning')
? (_json['warning'] as core.List)
.map((value) => DynamicLinkWarning.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);