forked from eatvio/eatvio_app
feat(verify): phone
This commit is contained in:
@@ -5,7 +5,7 @@ part 'comment_model.freezed.dart';
|
||||
part 'comment_model.g.dart';
|
||||
|
||||
@freezed
|
||||
class CommentModel with _$CommentModel {
|
||||
abstract class CommentModel with _$CommentModel {
|
||||
const factory CommentModel({
|
||||
@JsonKey(name: "data") required List<Comment> data,
|
||||
@JsonKey(name: "links") required Links links,
|
||||
@@ -16,7 +16,7 @@ class CommentModel with _$CommentModel {
|
||||
}
|
||||
|
||||
@freezed
|
||||
class Comment with _$Comment {
|
||||
abstract class Comment with _$Comment {
|
||||
const factory Comment({
|
||||
@JsonKey(name: "id") required int id,
|
||||
@JsonKey(name: "author_name") required String authorName,
|
||||
|
||||
Reference in New Issue
Block a user