TimeRange.fromJson constructor

TimeRange.fromJson(
  1. Map _json
)

Implementation

TimeRange.fromJson(core.Map _json) {
  if (_json.containsKey("endTime")) {
    endTime = _json["endTime"];
  }
  if (_json.containsKey("startTime")) {
    startTime = _json["startTime"];
  }
}