RepoBlobRef constructor

  1. @JsonSerializable(includeIfNull: false)
const RepoBlobRef({
  1. @Default(comAtprotoAdminDefsRepoBlobRef) @JsonKey(name: r'$type') String $type,
  2. required String did,
  3. required String cid,
  4. @AtUriConverter() AtUri? recordUri,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RepoBlobRef({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.admin.defs#repoBlobRef`
  @Default(comAtprotoAdminDefsRepoBlobRef)
  @JsonKey(name: r'$type')
  String $type,
  required String did,
  required String cid,
  @AtUriConverter() AtUri? recordUri,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _RepoBlobRef;