toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'labels'] = this.labels;
  if (this.lastUpdatedAt != null) {
    json[r'lastUpdatedAt'] = this.lastUpdatedAt;
  } else {
    json[r'lastUpdatedAt'] = null;
  }
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
    json[r'tags'] = this.tags;
  if (this.type != null) {
    json[r'type'] = this.type;
  } else {
    json[r'type'] = null;
  }
    json[r'versions'] = this.versions;
  return json;
}