GetPostsOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const GetPostsOutput({
  1. @PostViewConverter() required List<PostView> posts,
  2. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory GetPostsOutput({
  @PostViewConverter() required List<PostView> posts,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _GetPostsOutput;