SearchProjectsResponse.fromJson constructor

SearchProjectsResponse.fromJson(
  1. Map json_
)

Implementation

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