RegistrationApplication constructor

  1. @ForceUtcDateTime()
  2. @ForceUtcDateTimeNullable()
  3. @JsonSerializable(fieldRename: FieldRename.snake)
const RegistrationApplication({
  1. required int id,
  2. required int localUserId,
  3. required String answer,
  4. int? adminId,
  5. String? denyReason,
  6. required DateTime published,
  7. required String instanceHost,
})

Implementation

@ForceUtcDateTime()
@ForceUtcDateTimeNullable()
@JsonSerializable(fieldRename: FieldRename.snake)
const factory RegistrationApplication({
  required int id,
  required int localUserId,
  required String answer,
  int? adminId,
  String? denyReason,
  required DateTime published,
  required String instanceHost,
}) = _RegistrationApplication;