init method
void
init(})
Implementation
void init(List<String?>? atsignsToTrackFromApp,
{LatLng? etaFrom,
bool? calculateETA,
bool? addCurrentUserMarker,
String? textForCenter,
Function? showToast}) async {
hybridUsersList = [];
_atHybridUsersController = StreamController<List<HybridModel?>>.broadcast();
atsignsToTrack = atsignsToTrackFromApp;
this.etaFrom = etaFrom;
this.calculateETA = calculateETA;
this.addCurrentUserMarker = addCurrentUserMarker;
this.textForCenter = textForCenter;
this.showToast = showToast;
// ignore: unawaited_futures
if (myLocationStream != null) myLocationStream!.cancel();
if (etaFrom != null) addCentreMarker();
await addMyDetailsToHybridUsersList();
updateHybridList();
}