FollowRecord constructor
- @JsonSerializable(includeIfNull: false)
const
FollowRecord(
{ - @Default(appBskyGraphFollow) @JsonKey(name: r'$type') String $type,
- required String subject,
- required DateTime createdAt,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory FollowRecord({
/// The unique namespace for this lex object.
///
/// `app.bsky.graph.follow`
@Default(appBskyGraphFollow) @JsonKey(name: r'$type') String $type,
required String subject,
required DateTime createdAt,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _FollowRecord;