toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (blogId != null) 'blogId': blogId!,
      if (hasEditAccess != null) 'hasEditAccess': hasEditAccess!,
      if (kind != null) 'kind': kind!,
      if (postId != null) 'postId': postId!,
      if (userId != null) 'userId': userId!,
    };