IosUtils class
Helper providing direct access to iOS-only features.
Constructors
- IosUtils()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
cancelNotification(
String tag) → Future< bool> -
Removes the delivered notification with the provided
tag
. -
cancelNotificationsContaining(
String thread) → Future< bool> -
Removes the delivered notifications containing the provided
thread
. -
getArchitecture(
) → Future< String> - Returns the architecture of this device.
- Returns the directory that is shared among both application and its services (Notification Service Extension, for example).
-
writeDefaults(
String key, String value) → Future< void> -
Writes the provided
value
at thekey
in the shared dictionaries.