CommitMeta constructor

  1. @JsonSerializable(includeIfNull: false)
const CommitMeta({
  1. @Default(comAtprotoRepoDefsCommitMeta) @JsonKey(name: r'$type') String $type,
  2. required String cid,
  3. required String rev,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory CommitMeta({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.repo.defs#commitMeta`
  @Default(comAtprotoRepoDefsCommitMeta)
  @JsonKey(name: r'$type')
  String $type,
  required String cid,
  required String rev,

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