Like constructor
- @JsonSerializable(includeIfNull: false)
- @Default(appBskyFeedGetLikesLike) @JsonKey(name: r'$type') String $type,
- required DateTime indexedAt,
- required DateTime createdAt,
- @ProfileViewConverter() required ProfileView actor,
- @JsonKey(name: r'$unknown') Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory Like({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.getLikes#like`
@Default(appBskyFeedGetLikesLike) @JsonKey(name: r'$type') String $type,
required DateTime indexedAt,
required DateTime createdAt,
@ProfileViewConverter() required ProfileView actor,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _Like;