ListVersionsResponse.fromJson constructor

ListVersionsResponse.fromJson(Map _json)

Implementation

ListVersionsResponse.fromJson(core.Map _json) {
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
  if (_json.containsKey("versions")) {
    versions = (_json["versions"] as core.List)
        .map<Version>((value) => new Version.fromJson(value))
        .toList();
  }
}