ApiRequestConfig<TResponse extends ResponseBase> constructor
const
ApiRequestConfig<TResponse extends ResponseBase> ({})
Implementation
const ApiRequestConfig({
required this.url,
required this.fromJson,
this.body,
this.encoding,
this.authCode,
this.authToken,
this.params = const <String, dynamic>{},
this.headers = const <String, String>{},
this.method = HttpMethod.get,
});