TimePeriod.fromJson constructor

TimePeriod.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TimePeriod.fromJson(Map<String, dynamic> json) {
  return TimePeriod(
    end: timeStampFromJson(json['End']),
    start: timeStampFromJson(json['Start']),
  );
}