🐛 Fixes and optimzation on post

♻️ Replace freezed abstract classes with sealed
This commit is contained in:
2025-05-24 22:38:07 +08:00
parent 81103ba8b6
commit a2053aa772
19 changed files with 315 additions and 134 deletions

View File

@ -6,7 +6,7 @@ part 'relationship.freezed.dart';
part 'relationship.g.dart';
@freezed
abstract class SnRelationship with _$SnRelationship {
sealed class SnRelationship with _$SnRelationship {
const factory SnRelationship({
required DateTime? createdAt,
required DateTime? updatedAt,