Review class final
The review decision and reasons recorded for an upload attempt.
Exposes createdAt, decision, fileId, and publicMessage, among other contract fields.
Constructors
-
Review({required DateTime createdAt, required UploadReviewDecision decision, String? fileId, String? publicMessage, List<
ReviewReason> ? reasons, required DateTime reviewedAt, required UploadReviewType type}) -
const
-
Review.fromJson(Map<
String, Object?> json) -
factory
Properties
- createdAt → DateTime
-
final
- decision → UploadReviewDecision
-
final
- fileId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicMessage → String?
-
final
-
reasons
→ List<
ReviewReason> ? -
final
- reviewedAt → DateTime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → UploadReviewType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited