update
This commit is contained in:
@@ -68,13 +68,11 @@ class _ServiceScreenState extends State<ServiceScreen> {
|
||||
'id': '1',
|
||||
'status': 'done'
|
||||
},
|
||||
'to': pro,
|
||||
'to': pro
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
print(pro);
|
||||
print(response);
|
||||
response;
|
||||
} catch (e) {
|
||||
print('error al enviar notificacion $e');
|
||||
@@ -364,6 +362,10 @@ class _ServiceScreenState extends State<ServiceScreen> {
|
||||
professionalTarifa = profesional.tarifa ?? 0;
|
||||
professionalUbicacion = profesional.ubicacion;
|
||||
professionalAddress = _ubicationController.text;
|
||||
if (profesional.token != '') {
|
||||
professionalToken = profesional.token!;
|
||||
print(professionalToken);
|
||||
}
|
||||
|
||||
if (ubicacion == 'sitio') {
|
||||
professionalAddress = profesional.realAddress;
|
||||
@@ -801,10 +803,11 @@ class _ServiceScreenState extends State<ServiceScreen> {
|
||||
profesional.name.toString();
|
||||
|
||||
professionalId = profesional.id;
|
||||
|
||||
print(profesional);
|
||||
if (profesional.token != '') {
|
||||
professionalToken =
|
||||
profesional.token!;
|
||||
print(professionalToken);
|
||||
}
|
||||
|
||||
professionalTarifa =
|
||||
|
||||
Reference in New Issue
Block a user