send method
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,
- int? maxRedirects = 1,
- String contentType = 'application/json',
- int timeout = 60,
- 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,
);