EventKeyStreamService class

Constructors

EventKeyStreamService.new()
factory

Properties

allEventNotifications List<EventKeyLocationModel>
getter/setter pair
allPastEventNotifications List<EventKeyLocationModel>
getter/setter pair
atClientInstance ↔ AtClientImpl?
getter/setter pair
atContactImpl ↔ AtContactsImpl?
getter/setter pair
atNotificationsController StreamController
getter/setter pair
atNotificationsSink StreamSink<List<EventKeyLocationModel>>
no setter
atNotificationsStream Stream<List<EventKeyLocationModel>>
no setter
contactList List<AtContact>
getter/setter pair
currentAtSign String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
loggedInUserDetails ↔ AtContact?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamAlternative ↔ dynamic Function(List<EventKeyLocationModel>)?
getter/setter pair

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

Operators

operator ==(Object other) bool
The equality operator.
inherited