TeamDriveList.fromJson constructor

TeamDriveList.fromJson(
  1. Map _json
)

Implementation

TeamDriveList.fromJson(core.Map _json) {
  if (_json.containsKey("items")) {
    items = (_json["items"] as core.List)
        .map<TeamDrive>((value) => new TeamDrive.fromJson(value))
        .toList();
  }
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("nextPageToken")) {
    nextPageToken = _json["nextPageToken"];
  }
}