CommentReport constructor
- @ForceUtcDateTime()
- @ForceUtcDateTimeNullable()
- @JsonSerializable(fieldRename: FieldRename.snake)
const
CommentReport(
{ - required int id,
- required int creatorId,
- required String reason,
- required bool resolved,
- int? resolverId,
- required DateTime published,
- DateTime? updated,
- required String instanceHost,
})
Implementation
@ForceUtcDateTime()
@ForceUtcDateTimeNullable()
@JsonSerializable(fieldRename: FieldRename.snake)
const factory CommentReport({
required int id,
required int creatorId,
required int commentId,
required String originalCommentText,
required String reason,
required bool resolved,
int? resolverId,
required DateTime published,
DateTime? updated,
required String instanceHost,
}) = _CommentReport;