Link.fromJson constructor
Link.fromJson(
- Map json_
Implementation
Link.fromJson(core.Map json_)
: this(
href: json_.containsKey('href') ? json_['href'] as core.String : null,
hreflang: json_.containsKey('hreflang')
? json_['hreflang'] as core.String
: null,
media:
json_.containsKey('media') ? json_['media'] as core.String : null,
rel: json_.containsKey('rel') ? json_['rel'] as core.String : null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
value:
json_.containsKey('value') ? json_['value'] as core.String : null,
);