|
|
|
|
@ -12,6 +12,7 @@ import 'package:mohem_flutter_app/models/dashboard/list_menu.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/generic_response_model.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/itg/itg_main_response.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/models/itg/itg_response_model.dart';
|
|
|
|
|
import 'package:platform_device_id/platform_device_id.dart';
|
|
|
|
|
import 'package:uuid/uuid.dart';
|
|
|
|
|
|
|
|
|
|
class DashboardApiClient {
|
|
|
|
|
@ -111,8 +112,8 @@ class DashboardApiClient {
|
|
|
|
|
// Generate a v4 (random) id
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> postParams = {
|
|
|
|
|
// "UID": await PlatformDeviceId.getDeviceId, //uuid.v4(), //Mobile Id
|
|
|
|
|
"UID": uuid.v4(), //Mobile Id
|
|
|
|
|
"UID": await PlatformDeviceId.getDeviceId, //uuid.v4(), //Mobile Id
|
|
|
|
|
// "UID": uuid.v4(), //Mobile Id
|
|
|
|
|
"Latitude": lat,
|
|
|
|
|
"Longitude": long,
|
|
|
|
|
"QRValue": QRValue,
|
|
|
|
|
|