mirrored_repositories/Sirat-E-Mustaqeem/lib/src/core
import 'package:dio/dio.dart';

import 'network_client.dart';

class ApiService {
  final NetworkClient networkClient;

  ApiService({required this.networkClient});

  Future<Response> getPrayerTiming(
      int timeStamp, Map<String, Object> params) async {
    return await networkClient.get('/$timeStamp', params);
  }

  Future<Response> getAddress(Map<String, Object> params) async {
    return await networkClient.get('/json', params);
  }
}
