UserPushSoundSetRequest constructor

UserPushSoundSetRequest(
  1. String sound, {
  2. String? userId,
})

Implementation

UserPushSoundSetRequest(String sound, {String? userId})
    : super(userId: userId) {
  url = 'users/${userId ?? state.userId}/push_preference';
  body = {'push_sound': sound};
}