UBlogResponse constructor

UBlogResponse({
  1. required String id,
  2. required DateTime createdAt,
  3. required UBlogJson jsonData,
  4. required List<int> tags,
  5. required String title,
  6. List<String> adminUserIds = const <String>[],
  7. UUserResponse? creator,
  8. String? creatorId,
  9. String? subtitle,
  10. String? slug,
  11. String? content,
  12. List<UMediaResponse>? media,
  13. List<UCategoryResponse>? categories,
  14. List<UCommentResponse>? comments,
  15. int? commentCount,
  16. String? code,
  17. String? description,
  18. String? type,
  19. double? latitude,
  20. double? longitude,
  21. String? parentId,
  22. List<UBlogResponse>? children,
  23. int? childrenCount,
})

Implementation

UBlogResponse({
  required this.id,
  required this.createdAt,
  required this.jsonData,
  required this.tags,
  required this.title,
  this.adminUserIds = const <String>[],
  this.creator,
  this.creatorId,
  this.subtitle,
  this.slug,
  this.content,
  this.media,
  this.categories,
  this.comments,
  this.commentCount,
  this.code,
  this.description,
  this.type,
  this.latitude,
  this.longitude,
  this.parentId,
  this.children,
  this.childrenCount,
});