ListRepositoriesResponse.fromJson constructor

ListRepositoriesResponse.fromJson(
  1. Map json_
)

Implementation

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