TimeInterval.fromJSON constructor

TimeInterval.fromJSON(
  1. dynamic json
)

Implementation

factory TimeInterval.fromJSON(dynamic json) {
  return TimeInterval(
    start: Time.fromString(json['startTime']),
    end: Time.fromString(json['endTime']),
  );
}