ListBuildsResponse.fromJson constructor

ListBuildsResponse.fromJson(
  1. Map json_
)

Implementation

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