4/16/1
This commit is contained in:
@@ -2489,17 +2489,16 @@ class MapPassengerController extends GetxController {
|
||||
);
|
||||
if (res != 'failure') {
|
||||
// print(jsonDecode(res));
|
||||
kazan = double.parse(jsonDecode(res)['message'][0]['kazan']);
|
||||
naturePrice = double.parse(jsonDecode(res)['message'][0]['naturePrice']);
|
||||
heavyPrice = double.parse(jsonDecode(res)['message'][0]['heavyPrice']);
|
||||
latePrice = double.parse(jsonDecode(res)['message'][0]['latePrice']);
|
||||
fuelPrice = double.parse(jsonDecode(res)['message'][0]['fuelPrice']);
|
||||
comfortPrice =
|
||||
double.parse(jsonDecode(res)['message'][0]['comfortPrice']);
|
||||
speedPrice = double.parse(jsonDecode(res)['message'][0]['speedPrice']);
|
||||
mashwariPrice = double.parse(jsonDecode(res)['message'][0]['freePrice']);
|
||||
deliveryPrice =
|
||||
double.parse(jsonDecode(res)['message'][0]['deliveryPrice']);
|
||||
var json = jsonDecode(res);
|
||||
kazan = double.parse(json['message'][0]['kazan']);
|
||||
naturePrice = double.parse(json['message'][0]['naturePrice']);
|
||||
heavyPrice = double.parse(json['message'][0]['heavyPrice']);
|
||||
latePrice = double.parse(json['message'][0]['latePrice']);
|
||||
comfortPrice = double.parse(json['message'][0]['comfortPrice']);
|
||||
speedPrice = double.parse(json['message'][0]['speedPrice']);
|
||||
deliveryPrice = double.parse(json['message'][0]['deliveryPrice']);
|
||||
mashwariPrice = double.parse(json['message'][0]['freePrice']);
|
||||
fuelPrice = double.parse(json['message'][0]['fuelPrice']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user