GoogleFirestoreAdminV1IndexOperationMetadata.fromJson constructor

GoogleFirestoreAdminV1IndexOperationMetadata.fromJson(
  1. Map _json
)

Implementation

GoogleFirestoreAdminV1IndexOperationMetadata.fromJson(core.Map _json) {
  if (_json.containsKey("endTime")) {
    endTime = _json["endTime"];
  }
  if (_json.containsKey("index")) {
    index = _json["index"];
  }
  if (_json.containsKey("progressBytes")) {
    progressBytes =
        new GoogleFirestoreAdminV1Progress.fromJson(_json["progressBytes"]);
  }
  if (_json.containsKey("progressDocuments")) {
    progressDocuments = new GoogleFirestoreAdminV1Progress.fromJson(
        _json["progressDocuments"]);
  }
  if (_json.containsKey("startTime")) {
    startTime = _json["startTime"];
  }
  if (_json.containsKey("state")) {
    state = _json["state"];
  }
}