AndroidSound constructor
const
AndroidSound(
- int value
Creates a sound from its type: 1 for alarm, 2 for notification and 3 for ringtone.
Implementation
const AndroidSound(this.value) : assert(value >= 1), assert(value <= 3);