setRingerMode method Null safety

Future<void> setRingerMode(
  1. AndroidRingerMode ringerMode
)

(UNTESTED)

Implementation

Future<void> setRingerMode(AndroidRingerMode ringerMode) async {
  await _channel.invokeMethod<int>('setRingerMode', [ringerMode.index]);
}