FlutterMute class
Constructors
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 Properties
-
isNotificationPolicyAccessGranted
→ Future<
bool> -
Required to call this function for devices with API 24 and above.
Gets notification policy access status.
no setter
Static Methods
-
getRingerMode(
) → Future< RingerMode> - Gets the current device ringer mode.
-
openNotificationPolicySettings(
) → Future< void> - Open settings notification policy.
-
setRingerMode(
RingerMode mode) → Future< void> - Sets the device sound mode. (Only for android)