navigatorPushToMap method

void navigatorPushToMap(
  1. LocationNotificationModel locationNotificationModel
)

Navigates to the MapScreen with the provided location notification model and current @sign

Implementation

void navigatorPushToMap(LocationNotificationModel locationNotificationModel) {
  Navigator.push(
    AtLocationNotificationListener().navKey.currentContext!,
    MaterialPageRoute(
        builder: (context) => MapScreen(
              currentAtSign: AtLocationNotificationListener().currentAtSign,
              userListenerKeyword: locationNotificationModel,
            )),
  );
}