toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final startDate = this.startDate;
  return {
    if (startDate != null) 'StartDate': startDate,
  };
}