send method

Future<StreamedResponse> send(
  1. BaseRequest request
)

Implementation

Future<StreamedResponse> send(BaseRequest request) {
  if (app.authToken != null && app.authToken!.isNotEmpty) {
    request.headers['Authorization'] = 'Bearer ${app.authToken}';
  }

  return client.send(request);
}