toJson method
Implementation
Map<String, dynamic> toJson() {
final status = this.status;
final submitTimeAfter = this.submitTimeAfter;
final submitTimeBefore = this.submitTimeBefore;
return {
if (status != null) 'Status': status.toValue(),
if (submitTimeAfter != null)
'SubmitTimeAfter': unixTimestampToJson(submitTimeAfter),
if (submitTimeBefore != null)
'SubmitTimeBefore': unixTimestampToJson(submitTimeBefore),
};
}