🎨 Refactored all models with json annotation to make code cleaner

This commit is contained in:
2024-09-07 15:36:06 +08:00
parent f836b22c73
commit 9c451f485a
35 changed files with 1015 additions and 742 deletions

View File

@ -156,7 +156,7 @@ class _ChatMessageInputState extends State<ChatMessageInput> {
};
// The local mock data
final sender = Sender(
final sender = ChannelMember(
id: 0,
createdAt: DateTime.now(),
updatedAt: DateTime.now(),

View File

@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:solian/models/feed.dart';
import 'package:solian/models/post_categories.dart';
import 'package:solian/router.dart';
class PostTagsList extends StatelessWidget {