import 'dart:async';

import 'package:hmg_nurses/services/api_client.dart';
import 'package:hmg_nurses/app_state/app_state.dart';
import 'package:hmg_nurses/classes/consts.dart';


class LoginApiClient {
  static final LoginApiClient _instance = LoginApiClient._internal();

  LoginApiClient._internal();

  factory LoginApiClient() => _instance;

  // Future<GetMobileLoginInfoListModel?> getMobileLoginInfoNEW(String deviceToken, String deviceType) async {
  //   String url = "${ApiConsts.erpRest}Mohemm_GetMobileLoginInfo_NEW";
  //   Map<String, dynamic> postParams = {};
  //   postParams["DeviceToken"] = deviceToken;
  //   postParams["DeviceType"] = deviceType;
  //   return await ApiClient().postJsonForObject((json) {
  //     GenericResponseModel? responseData = GenericResponseModel.fromJson(json);
  //     return (responseData.mohemmGetMobileLoginInfoList?.length ?? 0) > 0 ? (responseData.mohemmGetMobileLoginInfoList!.first) : null;
  //   }, url, postParams);
  // }


}
