TrayRequest<T> constructor
TrayRequest<T> ({
- String url = '/',
- Map<
String, String?> ? params, - TrayRequestBody? body,
- MakeRequestMethod method = MakeRequestMethod.get,
- Map<
String, String> ? headers,
Implementation
TrayRequest({
this.url = '/',
this.params,
this.body,
this.method = MakeRequestMethod.get,
this.headers,
});