ObjectConditions.fromJson constructor

ObjectConditions.fromJson(
  1. Map _json
)

Implementation

ObjectConditions.fromJson(core.Map _json) {
  if (_json.containsKey("excludePrefixes")) {
    excludePrefixes =
        (_json["excludePrefixes"] as core.List).cast<core.String>();
  }
  if (_json.containsKey("includePrefixes")) {
    includePrefixes =
        (_json["includePrefixes"] as core.List).cast<core.String>();
  }
  if (_json.containsKey("lastModifiedBefore")) {
    lastModifiedBefore = _json["lastModifiedBefore"];
  }
  if (_json.containsKey("lastModifiedSince")) {
    lastModifiedSince = _json["lastModifiedSince"];
  }
  if (_json.containsKey("maxTimeElapsedSinceLastModification")) {
    maxTimeElapsedSinceLastModification =
        _json["maxTimeElapsedSinceLastModification"];
  }
  if (_json.containsKey("minTimeElapsedSinceLastModification")) {
    minTimeElapsedSinceLastModification =
        _json["minTimeElapsedSinceLastModification"];
  }
}