toJson method

Map<String, Object> toJson ()

Implementation

core.Map<core.String, core.Object> toJson() {
  final core.Map<core.String, core.Object> _json =
      new core.Map<core.String, core.Object>();
  if (chromeosdevices != null) {
    _json["chromeosdevices"] =
        chromeosdevices.map((value) => (value).toJson()).toList();
  }
  if (etag != null) {
    _json["etag"] = etag;
  }
  if (kind != null) {
    _json["kind"] = kind;
  }
  if (nextPageToken != null) {
    _json["nextPageToken"] = nextPageToken;
  }
  return _json;
}