UBlogResponse constructor
UBlogResponse({
- required String id,
- required DateTime createdAt,
- required UBlogJson jsonData,
- required List<
int> tags, - required String title,
- List<
String> adminUserIds = const <String>[], - UUserResponse? creator,
- String? creatorId,
- String? subtitle,
- String? slug,
- String? content,
- List<
UMediaResponse> ? media, - List<
UCategoryResponse> ? categories, - List<
UCommentResponse> ? comments, - int? commentCount,
- String? code,
- String? description,
- String? type,
- double? latitude,
- double? longitude,
- String? parentId,
- List<
UBlogResponse> ? children, - 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,
});