PollCloseRequest constructor Null safety

PollCloseRequest(
  1. {required int pollId}
)

Implementation

PollCloseRequest({required int pollId}) {
  url = 'polls/$pollId/close';
}