addCentreMarker method
void
addCentreMarker()
Adds a centre marker to the hybridUsersList
Implementation
void addCentreMarker() {
centreMarker = HybridModel(
displayName: textForCenter, latLng: etaFrom, eta: '', image: null);
centreMarker!.marker = buildMarker(centreMarker!);
hybridUsersList.add(centreMarker);
if (hybridUsersList.isNotEmpty) {
if (!_atHybridUsersController.isClosed) {
_atHybridUsersController.add(hybridUsersList);
}
}
}