Comment constructor Null safety

Comment(
  1. {required String? avatar,
  2. required String? userName,
  3. required String? content}
)

Implementation

Comment({
  required this.avatar,
  required this.userName,
  required this.content,
});