ApiRequest constructor Null safety
Implementation
ApiRequest({
// this.queryParams = const {},
// this.body = const {},
// this.headers = const {},
// this.progress,
// this.isMultipart = false,
// this.baseUrl,
this.token,
this.bypassAuth = false,
this.userId,
}) {
userId = userId ?? state.userId;
}