TimeRange.fromJson constructor

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

Implementation

factory TimeRange.fromJson(Map<String, dynamic> json) {
  return TimeRange(
    fromInclusive: timeStampFromJson(json['FromInclusive']),
    toExclusive: timeStampFromJson(json['ToExclusive']),
  );
}