Interval.fromJson constructor
Implementation
factory Interval.fromJson(Map<String, dynamic> json) {
return Interval(
startTime: decodeCustom(json['startTime'], Timestamp.fromJson),
endTime: decodeCustom(json['endTime'], Timestamp.fromJson),
);
}