updated error handling, consultant rating layout and complaining logic

This commit is contained in:
Username1548
2025-02-28 19:18:01 +07:00
parent e5b293db79
commit 0cdd40102f
86 changed files with 3853 additions and 279 deletions

View File

@@ -0,0 +1,15 @@
import 'package:freezed_annotation/freezed_annotation.dart';
part 'complain_model.freezed.dart';
part 'complain_model.g.dart';
@freezed
class ComplainModel with _$ComplainModel {
const factory ComplainModel({
@Default(null) String? description,
@Default([]) List<String> tags,
}) = _ComplainModel;
factory ComplainModel.fromJson(Map<String, dynamic> json) => _$ComplainModelFromJson(json);
}