mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 10:33:44 +02:00
fix: Fix issue with null category from firebase
This commit is contained in:
parent
0f0c90ef56
commit
80df20c323
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class TimelinePost {
|
||||||
id: id,
|
id: id,
|
||||||
creatorId: json['creator_id'] as String,
|
creatorId: json['creator_id'] as String,
|
||||||
title: json['title'] as String,
|
title: json['title'] as String,
|
||||||
category: json['category'] as String,
|
category: json['category'] as String?,
|
||||||
imageUrl: json['image_url'] as String?,
|
imageUrl: json['image_url'] as String?,
|
||||||
content: json['content'] as String,
|
content: json['content'] as String,
|
||||||
likes: json['likes'] as int,
|
likes: json['likes'] as int,
|
||||||
|
|
Loading…
Reference in a new issue