|
|
@ -7,6 +7,13 @@ import 'package:doctor_app_flutter/models/doctor_profile_model.dart';
|
|
|
|
import 'package:doctor_app_flutter/util/helpers.dart';
|
|
|
|
import 'package:doctor_app_flutter/util/helpers.dart';
|
|
|
|
import 'package:http/http.dart';
|
|
|
|
import 'package:http/http.dart';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
*@author: Mohammad Aljammal
|
|
|
|
|
|
|
|
*@Date:28/5/2020
|
|
|
|
|
|
|
|
*@param: url, onSuccess callBack, onFailure callBack
|
|
|
|
|
|
|
|
*@return:
|
|
|
|
|
|
|
|
*@desc: convert DateTime to data formatted
|
|
|
|
|
|
|
|
*/
|
|
|
|
class BaseAppClient {
|
|
|
|
class BaseAppClient {
|
|
|
|
static Client client = HttpInterceptor().getClient();
|
|
|
|
static Client client = HttpInterceptor().getClient();
|
|
|
|
|
|
|
|
|
|
|
|