AppleCriticalAlertOptions class

A class that can be used to send apple's critical alert.

Annotations

Constructors

AppleCriticalAlertOptions({String? name = AppleCriticalAlertOptions.defaultName, double? volume = AppleCriticalAlertOptions.defaultVolume})
AppleCriticalAlertOptions.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
name → String?
The name of the critical alert sound.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
volume → double?
The volume of the critical alert sound. The volume ranges from 0.0 to 1.0, which indicates silent and full volume, respectively.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

defaultName → const String
'default'
defaultVolume → const double
1.0