setPushSound method Null safety

Future<void> setPushSound(
  1. String sound
)

Sets push sound.

Implementation

Future<void> setPushSound(String sound) async {
  if (sound.isEmpty) throw InvalidParameterError();
  return _int.api.send(UserPushSoundSetRequest(sound));
}