RequestLocationService class
Constructors
- RequestLocationService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkForAlreadyExisting(
String? atsign) → List -
checkIfEventIsNotResponded(
LocationNotificationModel locationNotificationModel) → bool -
checkIfEventIsRejected(
LocationNotificationModel locationNotificationModel) → bool -
deleteKey(
LocationNotificationModel locationNotificationModel) → Future< bool> -
Deletes originally created
locationNotificationModel
notification -
newAtKey(
int ttr, String key, int? ttl, DateTime? expiresAt}) → AtKey -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestLocationAcknowledgment(
LocationNotificationModel originalLocationNotificationModel, bool isAccepted, {int? minutes, bool? isSharing}) → Future< bool> -
Sends a 'requestlocationacknowledged' key to
originalLocationNotificationModel
.receiver with isAccepted asisAccepted
and duration ofminutes
minute -
sendDeleteAck(
LocationNotificationModel locationNotificationModel) → Future< bool> - Sends a 'deleterequestacklocation' key to delete the originally created key
-
sendRequestLocationEvent(
String? atsign) → Future< bool?> -
Sends a 'requestlocation' key to
atsign
. -
toString(
) → String -
A string representation of this object.
inherited
-
updateWithRequestLocationAcknowledge(
LocationNotificationModel originalLocationNotificationModel, {bool rePrompt = false}) → Future -
Updates originally created
locationNotificationModel
withoriginalLocationNotificationModel
data IfrePrompt
is true, then will show dialog box on receiver's side.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited