PollData constructor Null safety

PollData(
  1. {String text = ''}
)

Implementation

PollData({this.text = ''});