toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.commit != null) {
json[r'commit'] = this.commit;
} else {
json[r'commit'] = null;
}
if (this.slug != null) {
json[r'slug'] = this.slug;
} else {
json[r'slug'] = null;
}
return json;
}