AspectRatio constructor

  1. @JsonSerializable.new(includeIfNull: false)
const AspectRatio({
  1. @Default.new('app.bsky.embed.defs#aspectRatio') String $type,
  2. required int width,
  3. required int height,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory AspectRatio({
  @Default('app.bsky.embed.defs#aspectRatio') String $type,
  required int width,
  required int height,

  Map<String, dynamic>? $unknown,
}) = _AspectRatio;