send method

Future<Either<dynamic, CustomExceptionHandlers>> send(
  1. {Map<String, dynamic>? body,
  2. Map<String, dynamic>? queryParameters,
  3. bool formData = false,
  4. String? responsetype = 'json',
  5. required String url,
  6. required String method,
  7. Map<String, String>? header,
  8. int? maxRedirects = 1,
  9. String contentType = 'application/json',
  10. int timeout = 60,
  11. bool innderData = false}
)

Implementation

Future<Either<dynamic, CustomExceptionHandlers>> send({
  Map<String, dynamic>? body,
  Map<String, dynamic>? queryParameters,
  bool formData = false,
  String? responsetype = 'json',
  required String url,
  required String method,
  Map<String, String>? header,
  int? maxRedirects = 1,
  String contentType = 'application/json',
  int timeout = 60,
  bool innderData = false,
}) =>
    _httpequest(
      body: body,
      queryParameters: queryParameters,
      url: url,
      formData: formData,
      method: method,
      header: header,
      maxRedirects: maxRedirects,
      timeout: timeout,
      responsetype: responsetype,
      contentType: contentType,
      innderData: innderData,
    );