Autoformat

This commit is contained in:
krawieck 2020-08-09 23:03:44 +02:00
parent 4594632f9a
commit 039fd6e6a0
3 changed files with 22 additions and 0 deletions

View File

@ -108,12 +108,14 @@ class ReplyView {
final int creatorId;
final int postId;
final String postName;
/// can be null
final int parentId;
final String content;
final bool removed;
final bool read;
final DateTime published;
/// can be null
final DateTime updated;
final bool deleted;
@ -123,6 +125,7 @@ class ReplyView {
final String communityActorId;
final bool communityLocal;
final String communityName;
/// can be null
final String communityIcon;
final bool banned;
@ -130,8 +133,10 @@ class ReplyView {
final String creatorActorId;
final bool creatorLocal;
final String creatorName;
/// can be null
final String creatorPreferredUsername;
/// can be null
final String creatorAvatar;
final DateTime creatorPublished;
@ -140,12 +145,16 @@ class ReplyView {
final int downvotes;
final int hotRank;
final int hotRankActive;
/// can be null
final int userId;
/// can be null
final int myVote;
/// can be null
final bool subscribed;
/// can be null
final bool saved;
final int recipientId;

View File

@ -8,16 +8,20 @@ class CommunityView {
final int id;
final String name;
final String title;
/// can be null
final String icon;
/// can be null
final String banner;
/// can be null
final String description;
final int categoryId;
final int creatorId;
final bool removed;
final DateTime published;
/// can be null
final DateTime updated;
final bool deleted;
@ -28,8 +32,10 @@ class CommunityView {
final String creatorActorId;
final bool creatorLocal;
final String creatorName;
/// can be null
final String creatorPreferredUsername;
/// can be null
final String creatorAvatar;
final String categoryName;
@ -37,8 +43,10 @@ class CommunityView {
final int numberOfPosts;
final int numberOfComments;
final int hotRank;
/// can be null
final int userId;
/// can be null
final bool subscribed;

View File

@ -12,20 +12,25 @@ class PrivateMessageView {
final bool deleted;
final bool read;
final DateTime published;
/// can be null
final DateTime updated;
final String apId;
final bool local;
final String creatorName;
/// can be null
final String creatorPreferredUsername;
/// can be null
final String creatorAvatar;
final String creatorActorId;
final bool creatorLocal;
final String recipientName;
/// can be null
final String recipientPreferredUsername;
/// can be null
final String recipientAvatar;
final String recipientActorId;