ThirdPartyLink.fromJson constructor

ThirdPartyLink.fromJson(
  1. Map json_
)

Implementation

ThirdPartyLink.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        linkingToken: json_.containsKey('linkingToken')
            ? json_['linkingToken'] as core.String
            : null,
        snippet: json_.containsKey('snippet')
            ? ThirdPartyLinkSnippet.fromJson(
                json_['snippet'] as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? ThirdPartyLinkStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );