Info constructor

  1. @JsonSerializable(includeIfNull: false)
const Info({
  1. @Default(comAtprotoLabelSubscribeLabelsInfo) @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.label.subscribeLabels#info`
  @Default(comAtprotoLabelSubscribeLabelsInfo)
  @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;