TODO:
Add methods and fields for comments associated with post.
This commit is contained in:
parent
b5e8620931
commit
cf09486479
|
@ -2,6 +2,7 @@ import 'package:json_annotation/json_annotation.dart';
|
|||
|
||||
part 'post.g.dart';
|
||||
|
||||
//TODO: Add methods and fields for comments associated with post.
|
||||
@JsonSerializable()
|
||||
class PostView {
|
||||
PostView(
|
||||
|
@ -47,7 +48,8 @@ class PostView {
|
|||
int myVote,
|
||||
bool subscribed,
|
||||
bool read,
|
||||
bool saved) {
|
||||
bool saved,
|
||||
) {
|
||||
_userId = userId;
|
||||
_myVote = myVote;
|
||||
_subscribed = subscribed;
|
||||
|
|
Loading…
Reference in New Issue