ListAvailableProjectsResponse.fromJson constructor

ListAvailableProjectsResponse.fromJson(
  1. Map json_
)

Implementation

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