toJson method

Map<String, dynamic> toJson()

Implementation

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