EventKeyStreamService class
Methods
-
actionOnEvent(EventNotificationModel event, ATKEY_TYPE_ENUM keyType, {bool? isAccepted, bool? isSharing, bool? isExited, bool? isCancelled})
→ Future<bool>
-
Processes any kind of update in an event and notifies creator/members
-
addDataToList(EventNotificationModel eventNotificationModel)
→ Future
-
Adds new EventKeyLocationModel data for new received notification
-
checkForPendingEvents()
→ Future<void>
-
Updates any received notification with
haveResponded
true, if already responded.
-
checkLocationSharingForEventData(EventNotificationModel eventNotificationModel)
→ void
-
Checks current status of currentAtSign in an event and updates EventLocationShare location sending list.
-
compareEvents(EventNotificationModel eventOne, EventNotificationModel eventTwo)
→ bool
-
-
convertJsonToEventModel()
→ void
-
-
createEventAcknowledge(EventNotificationModel acknowledgedEvent, String? atKey, String? fromAtSign)
→ dynamic
-
Updates data of members of an event
-
filterPastEventsFromList()
→ void
-
Removes past notifications and notification where data is null.
-
formAtKey(ATKEY_TYPE_ENUM keyType, String atkeyMicrosecondId, String? sharedWith, String sharedBy, EventNotificationModel eventData)
→ AtKey?
-
-
getAllContactDetails(String currentAtSign)
→ void
-
-
getAllEventNotifications()
→ void
-
adds all 'createevent' notifications to atNotificationsSink
-
getAtValue(AtKey key)
→ Future
-
-
geteventData(String regex)
→ Future
-
-
init(AtClientImpl clientInstance, {dynamic streamAlternative(List<EventKeyLocationModel>)?})
→ void
-
-
mapUpdatedEventDataToWidget(EventNotificationModel eventData, {Map? tags, String? tagOfAtsign, bool updateLatLng = false, bool updateOnlyCreator = false})
→ void
-
Updates any EventKeyLocationModel data for updated data
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateEvent(EventNotificationModel eventData, AtKey key)
→ Future
-
-
updateEventDataAccordingToAcknowledgedData()
→ Future<void>
-
Checks for any missed notifications and updates respective notification
-
updateLocationData(EventMemberLocation locationData, String? atKey, String? fromAtSign)
→ void
-
Updates event data with received
locationData
of fromAtSign
-
updatePendingStatus(EventNotificationModel notificationModel)
→ void
-