ImagesView constructor

  1. @JsonSerializable(includeIfNull: false)
const ImagesView({
  1. @Default(appBskyEmbedImagesView) @JsonKey(name: r'$type') String $type,
  2. @ImagesViewImageConverter() required List<ImagesViewImage> images,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ImagesView({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.embed.images#view`
  @Default(appBskyEmbedImagesView) @JsonKey(name: r'$type') String $type,
  @ImagesViewImageConverter() required List<ImagesViewImage> images,

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