Untitled

mail@pastecode.io avatar
unknown
dart
2 years ago
587 B
1
Indexable
Never
 void customerPickedUp() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['DeviceID'] = Constant.deviceID;
    data['DriverID'] = Constant.driverInfoModel.sId;
    data['CustomerID'] = Constant.customerID;
    WebServices.socket.emit("customer-picked-up", data);
  }

  void customerTripCompleted() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['DeviceID'] = Constant.deviceID;
    data['DriverID'] = Constant.driverInfoModel.sId;
    data['CustomerID'] = Constant.customerID;
    WebServices.socket.emit("customer-trip-completed", data);
  }