put<E> method

Future<Either<ApiFailure, E>> put<E>(
  1. String url,
  2. dynamic body,
  3. E fromJsonE(
    1. Object?
    )
)

Implementation

Future<Either<ApiFailure, E>> put<E>(
  String url,
  dynamic body,
  E Function(Object?) fromJsonE,
) async {
  return sendRequest<E>(url, body, fromJsonE, RequestType.PUT);
}