init method

void init(
  1. AtClient? newAtClient
)

initialises all the variables

Implementation

void init(AtClient? newAtClient) {
  if ((timer != null) && (timer!.isActive)) timer!.cancel();
  atClient = newAtClient;
  isEventInUse = AtLocationNotificationListener().isEventInUse;
  if (positionStream != null) positionStream!.cancel();
  findAtSignsToShareLocationWith();
}