PutDocRequest constructor

  1. @JsonSerializable(explicitToJson: true)
const PutDocRequest({
  1. required String indexPath,
  2. required Doc doc,
})

Default Constructor

Implementation

@JsonSerializable(explicitToJson: true)
const factory PutDocRequest({
  /// IndexPath is the Index to put a document to.
  required String indexPath,

  /// Doc is the document to put.
  required Doc doc,
}) = _PutDocRequest;