KeyStreamService class
Constructors
- KeyStreamService()
-
factory
Properties
-
allLocationNotifications
↔ List<
KeyLocationModel> -
getter/setter pair
- atClientInstance ↔ AtClientImpl?
-
getter/setter pair
- atContactImpl ↔ AtContactsImpl?
-
getter/setter pair
- atNotificationsController ↔ StreamController
-
getter/setter pair
-
atNotificationsSink
→ StreamSink<
List< KeyLocationModel> > -
no setter
-
atNotificationsStream
→ Stream<
List< KeyLocationModel> > -
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<
KeyLocationModel> )? -
getter/setter pair
Methods
-
addDataToList(
LocationNotificationModel locationNotificationModel) → Future< KeyLocationModel> - Adds new KeyLocationModel data for new received notification
-
checkForDeleteRequestAck(
) → void - Checks for missed 'Remove Person' requests for request location notifications
-
checkForPendingLocations(
) → Future< void> -
Updates any received notification with
haveResponded
true, if already responded. -
convertJsonToLocationModel(
) → void -
filterData(
) → void - Removes past notifications and notification where data is null.
-
forRequestLocation(
KeyLocationModel notification) → void -
getAllContactDetails(
String currentAtSign) → void -
getAllNotifications(
) → void - adds all share and request location notifications to atNotificationsSink
-
getAtValue(
AtKey key) → Future -
init(
AtClientImpl? clientInstance, {dynamic streamAlternative(List< KeyLocationModel> )?}) → void -
mapUpdatedLocationDataToWidget(
LocationNotificationModel locationData) → void - Updates any KeyLocationModel data for updated data
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void - Returns updated list
-
removeData(
String? key) → void - Removes a notification from list
-
toString(
) → String -
A string representation of this object.
inherited
-
updateEventAccordingToAcknowledgedData(
) → void - Checks for any missed notifications and updates respective notification
-
updatePendingStatus(
LocationNotificationModel notification) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited