ListLinksResponse.fromJson constructor

ListLinksResponse.fromJson(
  1. Map json_
)

Implementation

ListLinksResponse.fromJson(core.Map json_)
    : this(
        links: json_.containsKey('links')
            ? (json_['links'] as core.List)
                .map((value) => Link.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );