playRingtone method
Play default system ringtone (looping on Android)
Implementation
@override
Future<void> playRingtone({
double? volume,
bool looping = true,
bool asAlarm = false,
}) {
return play(
android: AndroidSounds.ringtone,
ios: IosSounds.electronic,
volume: volume,
looping: looping,
asAlarm: asAlarm,
);
}