CommitMeta constructor
- @JsonSerializable(includeIfNull: false)
const
CommitMeta(
{ - @Default(comAtprotoRepoDefsCommitMeta) @JsonKey(name: r'$type') String $type,
- required String cid,
- required String rev,
- @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;