makeClient function
Implementation
Dio makeClient({
required String apiToken,
}) {
return Dio(
BaseOptions(
baseUrl: "https://api.localesync.com",
validateStatus: (status) => true,
headers: {
"Repository-Token": apiToken,
"Content-Type": "application/json",
},
),
);
}