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