toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.analytics != null) {
json[r'analytics'] = this.analytics;
} else {
json[r'analytics'] = null;
}
if (this.description != null) {
json[r'description'] = this.description;
} else {
json[r'description'] = null;
}
if (this.framework != null) {
json[r'framework'] = this.framework;
} else {
json[r'framework'] = null;
}
if (this.license != null) {
json[r'license'] = this.license;
} else {
json[r'license'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.repo != null) {
json[r'repo'] = this.repo;
} else {
json[r'repo'] = null;
}
if (this.slug != null) {
json[r'slug'] = this.slug;
} else {
json[r'slug'] = null;
}
if (this.upstream != null) {
json[r'upstream'] = this.upstream;
} else {
json[r'upstream'] = null;
}
if (this.visibility != null) {
json[r'visibility'] = this.visibility;
} else {
json[r'visibility'] = null;
}
return json;
}