fields property
The list of JSON fields that define the structure of this model.
Each field represents a property that can be serialized to and deserialized from JSON. Subclasses must override this getter to provide their field definitions.
Example:
@override
List<JsonField> get fields => [
JsonString('email'),
JsonInteger('age'),
];
Implementation
@override
List<JsonField> get fields => [
id,
discussionId,
content,
mobileContent,
creatorId,
createdAt,
updatedAt,
deletedAt,
isOwner,
isPopup,
requestProperty,
parentId,
creator,
childrens,
orderBy,
orderType,
lastestComment,
requisitionEntity,
numberOfUnreadComments,
lastestCommentId,
requestName,
requestId,
files,
skip,
take,
unread,
userReacteds,
];