UCommentResponse class
Constructors
-
UCommentResponse.new({required String id, required DateTime createdAt, required DateTime updatedAt, required UCommentJson jsonData, required List<
int> tags, required double score, required String description, required String userId, String? parentId, UCommentResponse? parent, UUserResponse? user, UUserResponse? targetUser, String? targetUserId, UProductResponse? product, String? productId, List<UCommentResponse> ? children, List<UMediaResponse> ? media}) - UCommentResponse.fromJson(String str)
-
factory
-
UCommentResponse.fromMap(Map<
String, dynamic> json) -
factory
Properties
-
children
→ List<
UCommentResponse> ? -
final
- createdAt → DateTime
-
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- jsonData → UCommentJson
-
final
-
media
→ List<
UMediaResponse> ? -
final
- parent → UCommentResponse?
-
final
- parentId → String?
-
final
- product → UProductResponse?
-
final
- productId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double
-
final
-
final
- targetUser → UUserResponse?
-
final
- targetUserId → String?
-
final
- updatedAt → DateTime
-
final
- user → UUserResponse?
-
final
- userId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited