AtLocationNotificationListener class
Starts monitor and listens for notifications related to this package.
Constructors
- AtLocationNotificationListener()
-
factory
Properties
- atClientInstance ↔ AtClient?
-
getter/setter pair
- currentAtSign ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEventInUse ↔ bool
-
getter/setter pair
- locationKey → String
-
final
- monitorStarted ↔ bool
-
getter/setter pair
-
getter/setter pair
- ROOT_DOMAIN ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showDialogBox ↔ bool
-
getter/setter pair
Methods
-
getKeyType(
String keyRegex) → String - Returns the key type based on a given key regex
-
getPrivateKey(
String atsign) → Future< String?> -
Fetches privatekey for
atsign
from device keychain. -
init(
String rootDomain, bool showDialogBox, {Function? newGetAtValueFromMainApp, bool isEventInUse = false}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetMonitor(
) → dynamic - called when switching atsign
-
showMyDialog(
String? fromAtSign, LocationNotificationModel locationData) → Future< void> - Shows a custom notification dialog
-
showToast(
String msg, BuildContext _context, {bool isError = false, bool isSuccess = true}) → dynamic - Shows a toast message
-
startMonitor(
) → Future< void> - starts monitor to receive incoming notifications.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited