callApiGetToken method
Implementation
Future<TokenModel?> callApiGetToken() async {
final tokenRequest = await _tokenRequest;
final dynamic response = await _dioClient.post(
Endpoints.getToken,
queryParameters: tokenRequest.toJson(),
);
final tokenModel = TokenModel.fromJson(response);
return tokenModel;
}