factory TimeSpan.fromJson(Map<String, dynamic> json) { return TimeSpan( duration: json['Duration'] as String?, startTime: json['StartTime'] as String?, ); }