CommentsInfo.optional constructor

CommentsInfo.optional(
  1. {String comment = "",
  2. required String associatedId,
  3. required int matchNumber,
  4. required int teamNumber}
)

Implementation

factory CommentsInfo.optional(
        {String comment = "",
        required String associatedId,
        required int matchNumber,
        required int teamNumber}) =>
    CommentsInfo(
        comment: comment,
        associatedId: associatedId,
        matchNumber: matchNumber,
        teamNumber: teamNumber);