Link.fromJson constructor

Link.fromJson(
  1. Map json_
)

Implementation

Link.fromJson(core.Map json_)
    : this(
        thumbnailUrl: json_.containsKey('thumbnailUrl')
            ? json_['thumbnailUrl'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );