postRaw method

  1. @override
Future<Uint8List> postRaw(
  1. APIEndpoint endpoint,
  2. Uint8List payload, {
  3. required bool requiresAuth,
})
override

Perform a raw POST request (returns raw bytes).

Implementation

@override
Future<Uint8List> postRaw(
  APIEndpoint endpoint,
  Uint8List payload, {
  required bool requiresAuth,
}) async {
  return _postRawWithPath(endpoint.path, payload, requiresAuth: requiresAuth);
}