UProductResponse constructor
UProductResponse({
- required String id,
- required DateTime createdAt,
- required DateTime updatedAt,
- required UProductJson jsonData,
- required List<
int> tags, - required String title,
- required int point,
- required String userId,
- required int? visitCount,
- String? code,
- String? subtitle,
- String? description,
- String? slug,
- String? type,
- String? content,
- double? latitude,
- double? longitude,
- int? stock,
- double? price,
- String? parentId,
- UProductResponse? parent,
- UUserResponse? user,
- List<
UProductResponse> ? children, - List<
UMediaResponse> ? media, - List<
UCategoryResponse> ? categories, - int? commentCount,
- bool? isFollowing,
- int? childrenCount,
Implementation
UProductResponse({
required this.id,
required this.createdAt,
required this.updatedAt,
required this.jsonData,
required this.tags,
required this.title,
required this.point,
required this.userId,
required this.visitCount,
this.code,
this.subtitle,
this.description,
this.slug,
this.type,
this.content,
this.latitude,
this.longitude,
this.stock,
this.price,
this.parentId,
this.parent,
this.user,
this.children,
this.media,
this.categories,
this.commentCount,
this.isFollowing,
this.childrenCount,
});