ReasonRepost constructor

  1. @JsonSerializable(includeIfNull: false)
const ReasonRepost({
  1. @Default('app.bsky.feed.defs#reasonRepost') String $type,
  2. @ProfileViewBasicConverter() required ProfileViewBasic by,
  3. @AtUriConverter() AtUri? uri,
  4. String? cid,
  5. required DateTime indexedAt,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ReasonRepost({
  @Default('app.bsky.feed.defs#reasonRepost') String $type,
  @ProfileViewBasicConverter() required ProfileViewBasic by,
  @AtUriConverter() AtUri? uri,
  String? cid,
  required DateTime indexedAt,

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