StickyPost constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const StickyPost({
  1. required int postId,
  2. required bool stickied,
  3. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory StickyPost({
  required int postId,
  required bool stickied,
  required String auth,
}) = _StickyPost;