toJson method
Implementation
Map<String, dynamic> toJson() {
final endTimestamp = this.endTimestamp;
final startTimestamp = this.startTimestamp;
return {
'EndTimestamp': unixTimestampToJson(endTimestamp),
'StartTimestamp': unixTimestampToJson(startTimestamp),
};
}