DeleteDocRequest class
DeleteDocRequest is the input object for DeleteDoc.
- Annotations
-
- @freezed
Constructors
- DeleteDocRequest({required String indexPath, required String id})
-
Default Constructor
constfactory
-
DeleteDocRequest.fromJson(Map<
String, dynamic> json) -
Unmarshalls from json to DeleteDocRequest
factory
Properties
-
copyWith
→ $DeleteDocRequestCopyWith<
DeleteDocRequest> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
ID is the identifier of the document to delete.
no setterinherited
- indexPath → String
-
IndexPath is the Index to delete from.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited