PersonMention constructor

  1. @ForceUtcDateTime()
  2. @ForceUtcDateTimeNullable()
  3. @JsonSerializable(fieldRename: FieldRename.snake)
const PersonMention({
  1. required int id,
  2. required int recipientId,
  3. required int commentId,
  4. required bool read,
  5. required DateTime published,
  6. required String instanceHost,
})

Implementation

@ForceUtcDateTime()
@ForceUtcDateTimeNullable()
@JsonSerializable(fieldRename: FieldRename.snake)
const factory PersonMention({
  required int id,
  required int recipientId,
  required int commentId,
  required bool read,
  required DateTime published,
  required String instanceHost,
}) = _PersonMention;