FollowRecord constructor

  1. @JsonSerializable(includeIfNull: false)
const FollowRecord({
  1. @Default(appBskyGraphFollow) @JsonKey(name: r'$type') String $type,
  2. required String subject,
  3. required DateTime createdAt,
  4. @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;