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