Info constructor

  1. @JsonSerializable(includeIfNull: false)
const Info({
  1. @Default(comAtprotoSyncSubscribeReposInfo) @JsonKey(name: r'$type') String $type,
  2. @UInfoNameConverter() required UInfoName name,
  3. String? message,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory Info({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.sync.subscribeRepos#info`
  @Default(comAtprotoSyncSubscribeReposInfo)
  @JsonKey(name: r'$type')
  String $type,
  @UInfoNameConverter() required UInfoName name,
  String? message,

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