TransferOptions.fromJson constructor

TransferOptions.fromJson(
  1. Map _json
)

Implementation

TransferOptions.fromJson(core.Map _json) {
  if (_json.containsKey("deleteObjectsFromSourceAfterTransfer")) {
    deleteObjectsFromSourceAfterTransfer =
        _json["deleteObjectsFromSourceAfterTransfer"];
  }
  if (_json.containsKey("deleteObjectsUniqueInSink")) {
    deleteObjectsUniqueInSink = _json["deleteObjectsUniqueInSink"];
  }
  if (_json.containsKey("overwriteObjectsAlreadyExistingInSink")) {
    overwriteObjectsAlreadyExistingInSink =
        _json["overwriteObjectsAlreadyExistingInSink"];
  }
}