NotifySound class sealed

Sound configuration for a notification.

Constructors

NotifySound.alarm(String name)
Alarm sound — bypasses silent mode.
const
factory
NotifySound.critical(String name, {double volume})
Critical sound — bypasses DND and silent switch (iOS entitlement required).
const
factory
NotifySound.custom(String name, {bool loop})
Custom sound from app resources.
const
factory
NotifySound.default_()
System default notification sound.
const
factory
NotifySound.none()
No sound.
const
factory
NotifySound.systemAlarm()
System default alarm sound (no custom file needed).
const
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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Serializes to a map for platform channel communication.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited