ListOperationsResponse.fromJson constructor

ListOperationsResponse.fromJson(
  1. Map _json
)

Implementation

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