replaceOne abstract method
Replaces an existing item on the remote API with full replacement.
Uses methodForReplace and urlForReplace for the HTTP request.
headers can override default headers for this specific request.
Implementation
Future<TModel?> replaceOne(
TModel model, {
Map<String, String>? headers,
Map<String, dynamic>? extra,
});