toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'case_id': caseId,
'status_id': statusId,
'comment': comment ?? 'comment',
'elapsed': elapsed ?? '5m',
'version': version ?? '1.0 RC1',
'defects': defects ?? 'TR-7',
};
}