Comment constructor Null safety

Comment(
  1. {required String commentKey,
  2. String? videoId,
  3. required String message}
)

Returns a new Comment instance.

Implementation

Comment({
  required this.commentKey,
  this.videoId,
  required this.message,
});